@jari-ace/element-plus-component 0.3.4 → 0.4.1
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/components/autoComplete/JaAutoComplete.vue.d.ts +543 -686
- package/dist/components/autoComplete/JaAutoComplete.vue.d.ts.map +1 -1
- package/dist/components/autoComplete/JaAutoComplete.vue.js +10 -2
- package/dist/components/autoComplete/JaAutoComplete.vue.js.map +1 -1
- package/dist/components/avatar/JaAvatar.vue.d.ts +4 -3
- package/dist/components/avatar/JaAvatar.vue.d.ts.map +1 -1
- package/dist/components/avatar/JaAvatar.vue.js +10 -2
- package/dist/components/avatar/JaAvatar.vue.js.map +1 -1
- package/dist/components/button/JaButton.vue.d.ts +184 -250
- package/dist/components/button/JaButton.vue.d.ts.map +1 -1
- package/dist/components/button/JaButton.vue.js +11 -3
- package/dist/components/button/JaButton.vue.js.map +1 -1
- package/dist/components/checkbox/JaCheckbox.vue.d.ts +164 -1068
- package/dist/components/checkbox/JaCheckbox.vue.d.ts.map +1 -1
- package/dist/components/checkbox/JaCheckbox.vue.js +9 -24
- package/dist/components/checkbox/JaCheckbox.vue.js.map +1 -1
- package/dist/components/checkboxGroup/JaCheckboxGroup.vue.d.ts +158 -163
- package/dist/components/checkboxGroup/JaCheckboxGroup.vue.d.ts.map +1 -1
- package/dist/components/checkboxGroup/JaCheckboxGroup.vue.js +14 -5
- package/dist/components/checkboxGroup/JaCheckboxGroup.vue.js.map +1 -1
- package/dist/components/datePicker/JaDatePicker.vue.d.ts +7 -4
- package/dist/components/datePicker/JaDatePicker.vue.d.ts.map +1 -1
- package/dist/components/datePicker/JaDatePicker.vue.js +18 -7
- package/dist/components/datePicker/JaDatePicker.vue.js.map +1 -1
- package/dist/components/dropdownButton/JaDropdownButton.vue.d.ts +324 -399
- package/dist/components/dropdownButton/JaDropdownButton.vue.d.ts.map +1 -1
- package/dist/components/dropdownButton/JaDropdownButton.vue.js +4 -2
- package/dist/components/dropdownButton/JaDropdownButton.vue.js.map +1 -1
- package/dist/components/form/JaForm.vue.d.ts +52 -3
- package/dist/components/form/JaForm.vue.d.ts.map +1 -1
- package/dist/components/form/JaForm.vue.js +4 -2
- package/dist/components/form/JaForm.vue.js.map +1 -1
- package/dist/components/formItem/JaFormItem.vue.d.ts +168 -133
- package/dist/components/formItem/JaFormItem.vue.d.ts.map +1 -1
- package/dist/components/formItem/JaFormItem.vue.js.map +1 -1
- package/dist/components/input/JaInput.vue.d.ts +274 -421
- package/dist/components/input/JaInput.vue.d.ts.map +1 -1
- package/dist/components/input/JaInput.vue.js +20 -60
- package/dist/components/input/JaInput.vue.js.map +1 -1
- package/dist/components/inputI18n/JaInputI18n.vue.d.ts +70 -70
- package/dist/components/inputNumber/JaInputNumber.vue.d.ts +203 -217
- package/dist/components/inputNumber/JaInputNumber.vue.d.ts.map +1 -1
- package/dist/components/inputNumber/JaInputNumber.vue.js +16 -37
- package/dist/components/inputNumber/JaInputNumber.vue.js.map +1 -1
- package/dist/components/radioGroup/JaRadioGroup.vue.d.ts +148 -121
- package/dist/components/radioGroup/JaRadioGroup.vue.d.ts.map +1 -1
- package/dist/components/radioGroup/JaRadioGroup.vue.js +14 -5
- package/dist/components/radioGroup/JaRadioGroup.vue.js.map +1 -1
- package/dist/components/scrollbar/Scrollbar.vue.d.ts +5 -2
- package/dist/components/scrollbar/Scrollbar.vue.d.ts.map +1 -1
- package/dist/components/scrollbar/Scrollbar.vue.js +11 -3
- package/dist/components/scrollbar/Scrollbar.vue.js.map +1 -1
- package/dist/components/select/JaSelect.vue.d.ts +70 -70
- package/dist/components/select/JaSelect.vue.js +14 -5
- package/dist/components/select/JaSelect.vue.js.map +1 -1
- package/dist/components/switch/JaSwitch.vue.d.ts +174 -205
- package/dist/components/switch/JaSwitch.vue.d.ts.map +1 -1
- package/dist/components/switch/JaSwitch.vue.js +13 -4
- package/dist/components/switch/JaSwitch.vue.js.map +1 -1
- package/dist/components/timePicker/JaTimePicker.vue.d.ts +5 -2
- package/dist/components/timePicker/JaTimePicker.vue.d.ts.map +1 -1
- package/dist/components/timePicker/JaTimePicker.vue.js +18 -7
- package/dist/components/timePicker/JaTimePicker.vue.js.map +1 -1
- package/dist/components/tip/index.d.ts +3 -12
- package/dist/components/tip/index.d.ts.map +1 -1
- package/dist/components/tip/src/AceTip.vue.d.ts +9 -3
- package/dist/components/tip/src/AceTip.vue.d.ts.map +1 -1
- package/dist/components/tip/src/AceTip.vue.js.map +1 -1
- package/dist/components/upload/FilePreviewer.vue.d.ts +59 -0
- package/dist/components/upload/FilePreviewer.vue.d.ts.map +1 -0
- package/dist/components/upload/FilePreviewer.vue.js +169 -0
- package/dist/components/upload/FilePreviewer.vue.js.map +1 -0
- package/dist/components/upload/JaUploader.vue.d.ts +74 -14
- package/dist/components/upload/JaUploader.vue.d.ts.map +1 -1
- package/dist/components/upload/JaUploader.vue.js +3 -5
- package/dist/components/upload/JaUploader.vue.js.map +1 -1
- package/dist/components/upload/index.d.ts +102 -25
- package/dist/components/upload/index.d.ts.map +1 -1
- package/dist/components/upload/index.js +2 -0
- package/dist/components/upload/index.js.map +1 -1
- package/dist/components/upload/uploader.vue.d.ts +16 -0
- package/dist/components/upload/uploader.vue.d.ts.map +1 -1
- package/dist/components/upload/uploader.vue.js +46 -41
- package/dist/components/upload/uploader.vue.js.map +1 -1
- package/lib/index.css +2 -2
- package/lib/index.js +7439 -6984
- package/lib/index.umd.cjs +34 -34
- package/package.json +1 -1
- package/packages/components/autoComplete/JaAutoComplete.vue +19 -9
- package/packages/components/autoComplete/README.md +35 -0
- package/packages/components/avatar/JaAvatar.vue +16 -7
- package/packages/components/avatar/README.md +45 -0
- package/packages/components/button/JaButton.vue +32 -7
- package/packages/components/button/README.md +57 -0
- package/packages/components/checkbox/JaCheckbox.vue +15 -25
- package/packages/components/checkbox/README.md +21 -0
- package/packages/components/checkboxGroup/JaCheckboxGroup.vue +16 -5
- package/packages/components/checkboxGroup/README.md +24 -0
- package/packages/components/datePicker/JaDatePicker.vue +23 -10
- package/packages/components/datePicker/README.md +21 -0
- package/packages/components/dropdownButton/JaDropdownButton.vue +25 -7
- package/packages/components/dropdownButton/README.md +30 -0
- package/packages/components/form/JaForm.vue +60 -20
- package/packages/components/form/README.md +30 -0
- package/packages/components/formItem/JaFormItem.vue +43 -7
- package/packages/components/formItem/README.md +28 -0
- package/packages/components/input/JaInput.vue +30 -66
- package/packages/components/input/README.md +23 -0
- package/packages/components/inputNumber/JaInputNumber.vue +25 -45
- package/packages/components/inputNumber/README.md +21 -0
- package/packages/components/radioGroup/JaRadioGroup.vue +16 -5
- package/packages/components/radioGroup/README.md +24 -0
- package/packages/components/scrollbar/README.md +23 -0
- package/packages/components/scrollbar/Scrollbar.vue +14 -3
- package/packages/components/select/JaSelect.vue +22 -10
- package/packages/components/select/README.md +24 -0
- package/packages/components/switch/JaSwitch.vue +16 -5
- package/packages/components/switch/README.md +21 -0
- package/packages/components/timePicker/JaTimePicker.vue +21 -8
- package/packages/components/timePicker/README.md +21 -0
- package/packages/components/tip/README.md +20 -0
- package/packages/components/tip/src/AceTip.vue +10 -2
- package/packages/components/upload/FilePreviewer.vue +245 -0
- package/packages/components/upload/JaUploader.vue +9 -8
- package/packages/components/upload/README.md +24 -0
- package/packages/components/upload/index.ts +2 -0
- package/packages/components/upload/uploader.vue +68 -44
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"JaCheckbox.vue.d.ts","sourceRoot":"","sources":["../../../packages/components/checkbox/JaCheckbox.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"JaCheckbox.vue.d.ts","sourceRoot":"","sources":["../../../packages/components/checkbox/JaCheckbox.vue"],"names":[],"mappings":"AAkEA,OAAO,EAAC,KAAK,iBAAiB,EAAa,MAAM,cAAc,CAAA;AAC/D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,cAAc,CAAA;AAIjD,MAAM,WAAW,eAAgB,SAAQ,OAAO,CAAC,aAAa,CAAC;CAE9D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA6HD,wBAA0E;AAa1E,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { inject, ref, watch } from 'vue';
|
|
1
|
+
import { inject, ref, watch, computed } from 'vue';
|
|
2
2
|
import { ElCheckbox } from 'element-plus';
|
|
3
3
|
import { getValue, setValue } from "../../utils/objectUtils";
|
|
4
4
|
const props = withDefaults(defineProps(), {
|
|
5
5
|
disabled: false,
|
|
6
|
-
border: false,
|
|
7
6
|
checked: false,
|
|
8
7
|
indeterminate: false,
|
|
9
8
|
validateEvent: true
|
|
@@ -11,7 +10,7 @@ const props = withDefaults(defineProps(), {
|
|
|
11
10
|
const model = inject('aceFormModel');
|
|
12
11
|
const prop = inject('aceFormItemProp');
|
|
13
12
|
const validator = inject('aceFormValidator');
|
|
14
|
-
const checkbox = ref(
|
|
13
|
+
const checkbox = ref();
|
|
15
14
|
const emit = defineEmits();
|
|
16
15
|
function onChange(value) {
|
|
17
16
|
validator.removeFieldError(prop);
|
|
@@ -22,6 +21,10 @@ const mv = ref(getValue(model.formData, prop));
|
|
|
22
21
|
watch(() => model.formData, () => {
|
|
23
22
|
mv.value = getValue(model.formData, prop);
|
|
24
23
|
});
|
|
24
|
+
const elementProps = computed(() => {
|
|
25
|
+
const { modelValue, ...rest } = props;
|
|
26
|
+
return rest;
|
|
27
|
+
});
|
|
25
28
|
const __VLS_exposed = {
|
|
26
29
|
elCheckbox: checkbox
|
|
27
30
|
};
|
|
@@ -29,7 +32,6 @@ defineExpose(__VLS_exposed);
|
|
|
29
32
|
debugger; /* PartiallyEnd: #3632/scriptSetup.vue */
|
|
30
33
|
const __VLS_withDefaultsArg = (function (t) { return t; })({
|
|
31
34
|
disabled: false,
|
|
32
|
-
border: false,
|
|
33
35
|
checked: false,
|
|
34
36
|
indeterminate: false,
|
|
35
37
|
validateEvent: true
|
|
@@ -46,31 +48,13 @@ const __VLS_1 = __VLS_asFunctionalComponent(__VLS_0, new __VLS_0({
|
|
|
46
48
|
...{ 'onChange': {} },
|
|
47
49
|
ref: "checkbox",
|
|
48
50
|
modelValue: (__VLS_ctx.mv),
|
|
49
|
-
|
|
50
|
-
trueLabel: (__VLS_ctx.trueLabel),
|
|
51
|
-
falseLabel: (__VLS_ctx.falseLabel),
|
|
52
|
-
border: (__VLS_ctx.border),
|
|
53
|
-
size: (__VLS_ctx.size),
|
|
54
|
-
name: (__VLS_ctx.name),
|
|
55
|
-
checked: (__VLS_ctx.checked),
|
|
56
|
-
indeterminate: (__VLS_ctx.indeterminate),
|
|
57
|
-
validateEvent: (__VLS_ctx.validateEvent),
|
|
58
|
-
label: (__VLS_ctx.label),
|
|
51
|
+
...({ ...__VLS_ctx.elementProps, ...__VLS_ctx.$attrs }),
|
|
59
52
|
}));
|
|
60
53
|
const __VLS_2 = __VLS_1({
|
|
61
54
|
...{ 'onChange': {} },
|
|
62
55
|
ref: "checkbox",
|
|
63
56
|
modelValue: (__VLS_ctx.mv),
|
|
64
|
-
|
|
65
|
-
trueLabel: (__VLS_ctx.trueLabel),
|
|
66
|
-
falseLabel: (__VLS_ctx.falseLabel),
|
|
67
|
-
border: (__VLS_ctx.border),
|
|
68
|
-
size: (__VLS_ctx.size),
|
|
69
|
-
name: (__VLS_ctx.name),
|
|
70
|
-
checked: (__VLS_ctx.checked),
|
|
71
|
-
indeterminate: (__VLS_ctx.indeterminate),
|
|
72
|
-
validateEvent: (__VLS_ctx.validateEvent),
|
|
73
|
-
label: (__VLS_ctx.label),
|
|
57
|
+
...({ ...__VLS_ctx.elementProps, ...__VLS_ctx.$attrs }),
|
|
74
58
|
}, ...__VLS_functionalComponentArgsRest(__VLS_1));
|
|
75
59
|
let __VLS_4;
|
|
76
60
|
let __VLS_5;
|
|
@@ -93,6 +77,7 @@ const __VLS_self = (await import('vue')).defineComponent({
|
|
|
93
77
|
checkbox: checkbox,
|
|
94
78
|
onChange: onChange,
|
|
95
79
|
mv: mv,
|
|
80
|
+
elementProps: elementProps,
|
|
96
81
|
};
|
|
97
82
|
},
|
|
98
83
|
__typeEmits: {},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"JaCheckbox.vue.js","sourceRoot":"","sources":["../../../packages/components/checkbox/JaCheckbox.vue"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"JaCheckbox.vue.js","sourceRoot":"","sources":["../../../packages/components/checkbox/JaCheckbox.vue"],"names":[],"mappings":"AAAA,OAiEO,EAAC,MAAM,EAAE,GAAG,EAAE,KAAK,EAAE,QAAQ,EAAC,MAAM,KAAK,CAAA;AAChD,OAAO,EAAyB,UAAU,EAAC,MAAM,cAAc,CAAA;AAG/D,OAAO,EAAC,QAAQ,EAAE,QAAQ,EAAC,MAAM,yBAAyB,CAAC;AAO3D,MAAM,KAAK,GAAG,YAAY,CAAC,WAAW,EAAe,EAAE;IACnD,QAAQ,EAAE,KAAK;IACf,OAAO,EAAE,KAAK;IACd,aAAa,EAAE,KAAK;I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C/E,aAAa;AACb,IAAI,OAAO,GAAG,OAAO,EAAE,QAAQ,GAAG,QAAS,CAAE;AAS7C,IAAI,aAK+D,CAAC;AACpE,MAAM,UAAU,GAAG,CAAC,MAAM,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,eAAe,CAAC;IACzD,KAAK;QACL,OAAO;YACP,UAAU,EAAE,UAA+B;YAC3C,QAAQ,EAAE,QAA2B;YACrC,QAAQ,EAAE,QAA2B;YACrC,EAAE,EAAE,EAAe;YACnB,YAAY,EAAE,YAAmC;SAChD,CAAC;IACF,CAAC;IACD,WAAW,EAAE,EAAgB;IAC7B,WAAW,EAAE,EAAuB;IACpC,KAAK,EAAE,EAAkG;CACxG,CAAC,CAAC;AACH,MAAM,eAAe,GAAG,CAAC,MAAM,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,eAAe,CAAC;IAC9D,KAAK;QACL,OAAO;YACP,GAAG,aAAa;SACf,CAAC;IACF,CAAC;IACD,WAAW,EAAE,EAAgB;IAC7B,WAAW,EAAE,EAAuB;IACpC,KAAK,EAAE,EAAkG;CACxG,CAAC,CAAC;AACH,eAAe,EAA0D,CAAC;AAC1E,CAAC,CAAA,kCAAkC"}
|
|
@@ -1,60 +1,25 @@
|
|
|
1
1
|
import { type CheckboxGroupValueType } from "element-plus";
|
|
2
|
-
|
|
2
|
+
import type { CheckboxGroupProps } from 'element-plus';
|
|
3
|
+
export interface JaCheckboxGroupProps extends Partial<CheckboxGroupProps> {
|
|
4
|
+
}
|
|
5
|
+
declare const _default: __VLS_WithSlots<import("vue").DefineComponent<JaCheckboxGroupProps, {
|
|
3
6
|
focus: () => any;
|
|
4
7
|
blur: () => any;
|
|
5
|
-
elCheckboxGroup: import("vue").Ref<
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
readonly disabled:
|
|
10
|
-
readonly
|
|
11
|
-
readonly
|
|
12
|
-
readonly size: {
|
|
13
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils/index.mjs").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
|
|
14
|
-
readonly required: false;
|
|
15
|
-
readonly validator: (val: unknown) => boolean;
|
|
16
|
-
__epPropKey: true;
|
|
17
|
-
};
|
|
18
|
-
readonly fill: StringConstructor;
|
|
19
|
-
readonly textColor: StringConstructor;
|
|
20
|
-
readonly tag: import("element-plus/es/utils/index.mjs").EpPropFinalized<StringConstructor, unknown, unknown, "div", boolean>;
|
|
21
|
-
readonly validateEvent: import("element-plus/es/utils/index.mjs").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
22
|
-
readonly options: {
|
|
23
|
-
readonly type: import("vue").PropType<any[]>;
|
|
24
|
-
readonly required: false;
|
|
25
|
-
readonly validator: (val: unknown) => boolean;
|
|
26
|
-
__epPropKey: true;
|
|
27
|
-
};
|
|
28
|
-
readonly props: import("element-plus/es/utils/index.mjs").EpPropFinalized<(new (...args: any[]) => {
|
|
29
|
-
value?: string;
|
|
30
|
-
label?: string;
|
|
31
|
-
disabled?: string;
|
|
32
|
-
}) | (() => {
|
|
33
|
-
value?: string;
|
|
34
|
-
label?: string;
|
|
35
|
-
disabled?: string;
|
|
36
|
-
}) | ((new (...args: any[]) => {
|
|
37
|
-
value?: string;
|
|
38
|
-
label?: string;
|
|
39
|
-
disabled?: string;
|
|
40
|
-
}) | (() => {
|
|
41
|
-
value?: string;
|
|
42
|
-
label?: string;
|
|
43
|
-
disabled?: string;
|
|
44
|
-
}))[], unknown, unknown, () => Required<{
|
|
8
|
+
elCheckboxGroup: import("vue").Ref<{
|
|
9
|
+
$: import("vue").ComponentInternalInstance;
|
|
10
|
+
$data: {};
|
|
11
|
+
$props: Partial<{
|
|
12
|
+
readonly disabled: boolean;
|
|
13
|
+
readonly type: import("element-plus/es/utils/index.mjs").EpPropMergeType<StringConstructor, "button" | "checkbox", unknown>;
|
|
14
|
+
readonly props: {
|
|
45
15
|
value?: string;
|
|
46
16
|
label?: string;
|
|
47
17
|
disabled?: string;
|
|
48
|
-
}
|
|
49
|
-
readonly
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
54
|
-
"update:modelValue": (val: CheckboxGroupValueType) => void;
|
|
55
|
-
change: (val: import("element-plus").CheckboxValueType[]) => void;
|
|
56
|
-
}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, {
|
|
57
|
-
readonly disabled: boolean;
|
|
18
|
+
};
|
|
19
|
+
readonly modelValue: CheckboxGroupValueType;
|
|
20
|
+
readonly validateEvent: import("element-plus/es/utils/index.mjs").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
21
|
+
readonly tag: string;
|
|
22
|
+
}> & Omit<{
|
|
58
23
|
readonly type: import("element-plus/es/utils/index.mjs").EpPropMergeType<StringConstructor, "button" | "checkbox", unknown>;
|
|
59
24
|
readonly props: {
|
|
60
25
|
value?: string;
|
|
@@ -62,16 +27,34 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<{}, {
|
|
|
62
27
|
disabled?: string;
|
|
63
28
|
};
|
|
64
29
|
readonly modelValue: CheckboxGroupValueType;
|
|
65
|
-
readonly
|
|
30
|
+
readonly disabled: boolean;
|
|
66
31
|
readonly tag: string;
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
32
|
+
readonly validateEvent: import("element-plus/es/utils/index.mjs").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
33
|
+
readonly fill?: string;
|
|
34
|
+
readonly size?: import("element-plus/es/utils/index.mjs").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>;
|
|
35
|
+
readonly ariaLabel?: string;
|
|
36
|
+
readonly min?: number;
|
|
37
|
+
readonly max?: number;
|
|
38
|
+
readonly options?: any[];
|
|
39
|
+
readonly textColor?: string;
|
|
40
|
+
"onUpdate:modelValue"?: (val: CheckboxGroupValueType) => any;
|
|
41
|
+
onChange?: (val: import("element-plus").CheckboxValueType[]) => any;
|
|
42
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "type" | "props" | "modelValue" | "disabled" | "tag" | "validateEvent">;
|
|
43
|
+
$attrs: {
|
|
44
|
+
[x: string]: unknown;
|
|
45
|
+
};
|
|
46
|
+
$refs: {
|
|
47
|
+
[x: string]: unknown;
|
|
48
|
+
};
|
|
49
|
+
$slots: Readonly<{
|
|
50
|
+
[name: string]: import("vue").Slot<any>;
|
|
51
|
+
}>;
|
|
52
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}, {}, {}, string, import("vue").ComponentProvideOptions>, {}, {}, "", {}, any>;
|
|
53
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}, {}, {}, string, import("vue").ComponentProvideOptions>, {}, {}, "", {}, any>;
|
|
54
|
+
$host: Element;
|
|
55
|
+
$emit: ((event: "update:modelValue", val: CheckboxGroupValueType) => void) & ((event: "change", val: import("element-plus").CheckboxValueType[]) => void);
|
|
56
|
+
$el: any;
|
|
57
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
75
58
|
readonly ariaLabel: StringConstructor;
|
|
76
59
|
readonly modelValue: import("element-plus/es/utils/index.mjs").EpPropFinalized<(new (...args: any[]) => CheckboxGroupValueType) | (() => CheckboxGroupValueType) | ((new (...args: any[]) => CheckboxGroupValueType) | (() => CheckboxGroupValueType))[], unknown, unknown, () => never[], boolean>;
|
|
77
60
|
readonly disabled: BooleanConstructor;
|
|
@@ -118,7 +101,10 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<{}, {
|
|
|
118
101
|
}>> & {
|
|
119
102
|
"onUpdate:modelValue"?: (val: CheckboxGroupValueType) => any;
|
|
120
103
|
onChange?: (val: import("element-plus").CheckboxValueType[]) => any;
|
|
121
|
-
}, {},
|
|
104
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
105
|
+
"update:modelValue": (val: CheckboxGroupValueType) => void;
|
|
106
|
+
change: (val: import("element-plus").CheckboxValueType[]) => void;
|
|
107
|
+
}, string, {
|
|
122
108
|
readonly disabled: boolean;
|
|
123
109
|
readonly type: import("element-plus/es/utils/index.mjs").EpPropMergeType<StringConstructor, "button" | "checkbox", unknown>;
|
|
124
110
|
readonly props: {
|
|
@@ -129,11 +115,38 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<{}, {
|
|
|
129
115
|
readonly modelValue: CheckboxGroupValueType;
|
|
130
116
|
readonly validateEvent: import("element-plus/es/utils/index.mjs").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
131
117
|
readonly tag: string;
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
118
|
+
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & {
|
|
119
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
120
|
+
created?: (() => void) | (() => void)[];
|
|
121
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
122
|
+
mounted?: (() => void) | (() => void)[];
|
|
123
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
124
|
+
updated?: (() => void) | (() => void)[];
|
|
125
|
+
activated?: (() => void) | (() => void)[];
|
|
126
|
+
deactivated?: (() => void) | (() => void)[];
|
|
127
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
128
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
129
|
+
destroyed?: (() => void) | (() => void)[];
|
|
130
|
+
unmounted?: (() => void) | (() => void)[];
|
|
131
|
+
renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
|
132
|
+
renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
|
133
|
+
errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}, {}, {}, string, import("vue").ComponentProvideOptions>, {}, {}, "", {}, any>, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}, {}, {}, string, import("vue").ComponentProvideOptions>, {}, {}, "", {}, any>, info: string) => boolean | void)[];
|
|
134
|
+
};
|
|
135
|
+
$forceUpdate: () => void;
|
|
136
|
+
$nextTick: typeof import("vue").nextTick;
|
|
137
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R, args_2: import("@vue/reactivity").OnCleanup) => any : (args_0: any, args_1: any, args_2: import("@vue/reactivity").OnCleanup) => any, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
|
|
138
|
+
} & Readonly<{
|
|
139
|
+
readonly disabled: boolean;
|
|
140
|
+
readonly type: import("element-plus/es/utils/index.mjs").EpPropMergeType<StringConstructor, "button" | "checkbox", unknown>;
|
|
141
|
+
readonly props: {
|
|
142
|
+
value?: string;
|
|
143
|
+
label?: string;
|
|
144
|
+
disabled?: string;
|
|
145
|
+
};
|
|
146
|
+
readonly modelValue: CheckboxGroupValueType;
|
|
147
|
+
readonly validateEvent: import("element-plus/es/utils/index.mjs").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
148
|
+
readonly tag: string;
|
|
149
|
+
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
137
150
|
readonly ariaLabel: StringConstructor;
|
|
138
151
|
readonly modelValue: import("element-plus/es/utils/index.mjs").EpPropFinalized<(new (...args: any[]) => CheckboxGroupValueType) | (() => CheckboxGroupValueType) | ((new (...args: any[]) => CheckboxGroupValueType) | (() => CheckboxGroupValueType))[], unknown, unknown, () => never[], boolean>;
|
|
139
152
|
readonly disabled: BooleanConstructor;
|
|
@@ -180,77 +193,25 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<{}, {
|
|
|
180
193
|
}>> & {
|
|
181
194
|
"onUpdate:modelValue"?: (val: CheckboxGroupValueType) => any;
|
|
182
195
|
onChange?: (val: import("element-plus").CheckboxValueType[]) => any;
|
|
183
|
-
},
|
|
184
|
-
"update:modelValue": (val: CheckboxGroupValueType) => void;
|
|
185
|
-
change: (val: import("element-plus").CheckboxValueType[]) => void;
|
|
186
|
-
}, string, {
|
|
187
|
-
readonly disabled: boolean;
|
|
188
|
-
readonly type: import("element-plus/es/utils/index.mjs").EpPropMergeType<StringConstructor, "button" | "checkbox", unknown>;
|
|
189
|
-
readonly props: {
|
|
190
|
-
value?: string;
|
|
191
|
-
label?: string;
|
|
192
|
-
disabled?: string;
|
|
193
|
-
};
|
|
194
|
-
readonly modelValue: CheckboxGroupValueType;
|
|
195
|
-
readonly validateEvent: import("element-plus/es/utils/index.mjs").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
196
|
-
readonly tag: string;
|
|
197
|
-
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
196
|
+
}, "type" | "props" | "modelValue" | "disabled" | "tag" | "validateEvent"> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {} & {
|
|
198
197
|
$slots: {
|
|
199
198
|
default?(_: {}): any;
|
|
200
199
|
};
|
|
201
|
-
}
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
readonly disabled:
|
|
206
|
-
readonly
|
|
207
|
-
readonly
|
|
208
|
-
readonly size: {
|
|
209
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils/index.mjs").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
|
|
210
|
-
readonly required: false;
|
|
211
|
-
readonly validator: (val: unknown) => boolean;
|
|
212
|
-
__epPropKey: true;
|
|
213
|
-
};
|
|
214
|
-
readonly fill: StringConstructor;
|
|
215
|
-
readonly textColor: StringConstructor;
|
|
216
|
-
readonly tag: import("element-plus/es/utils/index.mjs").EpPropFinalized<StringConstructor, unknown, unknown, "div", boolean>;
|
|
217
|
-
readonly validateEvent: import("element-plus/es/utils/index.mjs").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
218
|
-
readonly options: {
|
|
219
|
-
readonly type: import("vue").PropType<any[]>;
|
|
220
|
-
readonly required: false;
|
|
221
|
-
readonly validator: (val: unknown) => boolean;
|
|
222
|
-
__epPropKey: true;
|
|
223
|
-
};
|
|
224
|
-
readonly props: import("element-plus/es/utils/index.mjs").EpPropFinalized<(new (...args: any[]) => {
|
|
225
|
-
value?: string;
|
|
226
|
-
label?: string;
|
|
227
|
-
disabled?: string;
|
|
228
|
-
}) | (() => {
|
|
229
|
-
value?: string;
|
|
230
|
-
label?: string;
|
|
231
|
-
disabled?: string;
|
|
232
|
-
}) | ((new (...args: any[]) => {
|
|
233
|
-
value?: string;
|
|
234
|
-
label?: string;
|
|
235
|
-
disabled?: string;
|
|
236
|
-
}) | (() => {
|
|
237
|
-
value?: string;
|
|
238
|
-
label?: string;
|
|
239
|
-
disabled?: string;
|
|
240
|
-
}))[], unknown, unknown, () => Required<{
|
|
200
|
+
}, {
|
|
201
|
+
$: import("vue").ComponentInternalInstance;
|
|
202
|
+
$data: {};
|
|
203
|
+
$props: Partial<{
|
|
204
|
+
readonly disabled: boolean;
|
|
205
|
+
readonly type: import("element-plus/es/utils/index.mjs").EpPropMergeType<StringConstructor, "button" | "checkbox", unknown>;
|
|
206
|
+
readonly props: {
|
|
241
207
|
value?: string;
|
|
242
208
|
label?: string;
|
|
243
209
|
disabled?: string;
|
|
244
|
-
}
|
|
245
|
-
readonly
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
250
|
-
"update:modelValue": (val: CheckboxGroupValueType) => void;
|
|
251
|
-
change: (val: import("element-plus").CheckboxValueType[]) => void;
|
|
252
|
-
}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, {
|
|
253
|
-
readonly disabled: boolean;
|
|
210
|
+
};
|
|
211
|
+
readonly modelValue: CheckboxGroupValueType;
|
|
212
|
+
readonly validateEvent: import("element-plus/es/utils/index.mjs").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
213
|
+
readonly tag: string;
|
|
214
|
+
}> & Omit<{
|
|
254
215
|
readonly type: import("element-plus/es/utils/index.mjs").EpPropMergeType<StringConstructor, "button" | "checkbox", unknown>;
|
|
255
216
|
readonly props: {
|
|
256
217
|
value?: string;
|
|
@@ -258,16 +219,34 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<{}, {
|
|
|
258
219
|
disabled?: string;
|
|
259
220
|
};
|
|
260
221
|
readonly modelValue: CheckboxGroupValueType;
|
|
261
|
-
readonly
|
|
222
|
+
readonly disabled: boolean;
|
|
262
223
|
readonly tag: string;
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
224
|
+
readonly validateEvent: import("element-plus/es/utils/index.mjs").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
225
|
+
readonly fill?: string;
|
|
226
|
+
readonly size?: import("element-plus/es/utils/index.mjs").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>;
|
|
227
|
+
readonly ariaLabel?: string;
|
|
228
|
+
readonly min?: number;
|
|
229
|
+
readonly max?: number;
|
|
230
|
+
readonly options?: any[];
|
|
231
|
+
readonly textColor?: string;
|
|
232
|
+
"onUpdate:modelValue"?: (val: CheckboxGroupValueType) => any;
|
|
233
|
+
onChange?: (val: import("element-plus").CheckboxValueType[]) => any;
|
|
234
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "type" | "props" | "modelValue" | "disabled" | "tag" | "validateEvent">;
|
|
235
|
+
$attrs: {
|
|
236
|
+
[x: string]: unknown;
|
|
237
|
+
};
|
|
238
|
+
$refs: {
|
|
239
|
+
[x: string]: unknown;
|
|
240
|
+
};
|
|
241
|
+
$slots: Readonly<{
|
|
242
|
+
[name: string]: import("vue").Slot<any>;
|
|
243
|
+
}>;
|
|
244
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}, {}, {}, string, import("vue").ComponentProvideOptions>, {}, {}, "", {}, any>;
|
|
245
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}, {}, {}, string, import("vue").ComponentProvideOptions>, {}, {}, "", {}, any>;
|
|
246
|
+
$host: Element;
|
|
247
|
+
$emit: ((event: "update:modelValue", val: CheckboxGroupValueType) => void) & ((event: "change", val: import("element-plus").CheckboxValueType[]) => void);
|
|
248
|
+
$el: any;
|
|
249
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
271
250
|
readonly ariaLabel: StringConstructor;
|
|
272
251
|
readonly modelValue: import("element-plus/es/utils/index.mjs").EpPropFinalized<(new (...args: any[]) => CheckboxGroupValueType) | (() => CheckboxGroupValueType) | ((new (...args: any[]) => CheckboxGroupValueType) | (() => CheckboxGroupValueType))[], unknown, unknown, () => never[], boolean>;
|
|
273
252
|
readonly disabled: BooleanConstructor;
|
|
@@ -314,7 +293,10 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<{}, {
|
|
|
314
293
|
}>> & {
|
|
315
294
|
"onUpdate:modelValue"?: (val: CheckboxGroupValueType) => any;
|
|
316
295
|
onChange?: (val: import("element-plus").CheckboxValueType[]) => any;
|
|
317
|
-
}, {},
|
|
296
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
297
|
+
"update:modelValue": (val: CheckboxGroupValueType) => void;
|
|
298
|
+
change: (val: import("element-plus").CheckboxValueType[]) => void;
|
|
299
|
+
}, string, {
|
|
318
300
|
readonly disabled: boolean;
|
|
319
301
|
readonly type: import("element-plus/es/utils/index.mjs").EpPropMergeType<StringConstructor, "button" | "checkbox", unknown>;
|
|
320
302
|
readonly props: {
|
|
@@ -325,11 +307,38 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<{}, {
|
|
|
325
307
|
readonly modelValue: CheckboxGroupValueType;
|
|
326
308
|
readonly validateEvent: import("element-plus/es/utils/index.mjs").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
327
309
|
readonly tag: string;
|
|
328
|
-
}
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
310
|
+
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & {
|
|
311
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
312
|
+
created?: (() => void) | (() => void)[];
|
|
313
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
314
|
+
mounted?: (() => void) | (() => void)[];
|
|
315
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
316
|
+
updated?: (() => void) | (() => void)[];
|
|
317
|
+
activated?: (() => void) | (() => void)[];
|
|
318
|
+
deactivated?: (() => void) | (() => void)[];
|
|
319
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
320
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
321
|
+
destroyed?: (() => void) | (() => void)[];
|
|
322
|
+
unmounted?: (() => void) | (() => void)[];
|
|
323
|
+
renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
|
324
|
+
renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
|
325
|
+
errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}, {}, {}, string, import("vue").ComponentProvideOptions>, {}, {}, "", {}, any>, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}, {}, {}, string, import("vue").ComponentProvideOptions>, {}, {}, "", {}, any>, info: string) => boolean | void)[];
|
|
326
|
+
};
|
|
327
|
+
$forceUpdate: () => void;
|
|
328
|
+
$nextTick: typeof import("vue").nextTick;
|
|
329
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R, args_2: import("@vue/reactivity").OnCleanup) => any : (args_0: any, args_1: any, args_2: import("@vue/reactivity").OnCleanup) => any, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
|
|
330
|
+
} & Readonly<{
|
|
331
|
+
readonly disabled: boolean;
|
|
332
|
+
readonly type: import("element-plus/es/utils/index.mjs").EpPropMergeType<StringConstructor, "button" | "checkbox", unknown>;
|
|
333
|
+
readonly props: {
|
|
334
|
+
value?: string;
|
|
335
|
+
label?: string;
|
|
336
|
+
disabled?: string;
|
|
337
|
+
};
|
|
338
|
+
readonly modelValue: CheckboxGroupValueType;
|
|
339
|
+
readonly validateEvent: import("element-plus/es/utils/index.mjs").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
340
|
+
readonly tag: string;
|
|
341
|
+
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
333
342
|
readonly ariaLabel: StringConstructor;
|
|
334
343
|
readonly modelValue: import("element-plus/es/utils/index.mjs").EpPropFinalized<(new (...args: any[]) => CheckboxGroupValueType) | (() => CheckboxGroupValueType) | ((new (...args: any[]) => CheckboxGroupValueType) | (() => CheckboxGroupValueType))[], unknown, unknown, () => never[], boolean>;
|
|
335
344
|
readonly disabled: BooleanConstructor;
|
|
@@ -376,28 +385,14 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<{}, {
|
|
|
376
385
|
}>> & {
|
|
377
386
|
"onUpdate:modelValue"?: (val: CheckboxGroupValueType) => any;
|
|
378
387
|
onChange?: (val: import("element-plus").CheckboxValueType[]) => any;
|
|
379
|
-
},
|
|
380
|
-
"update:modelValue": (val: CheckboxGroupValueType) => void;
|
|
381
|
-
change: (val: import("element-plus").CheckboxValueType[]) => void;
|
|
382
|
-
}, string, {
|
|
383
|
-
readonly disabled: boolean;
|
|
384
|
-
readonly type: import("element-plus/es/utils/index.mjs").EpPropMergeType<StringConstructor, "button" | "checkbox", unknown>;
|
|
385
|
-
readonly props: {
|
|
386
|
-
value?: string;
|
|
387
|
-
label?: string;
|
|
388
|
-
disabled?: string;
|
|
389
|
-
};
|
|
390
|
-
readonly modelValue: CheckboxGroupValueType;
|
|
391
|
-
readonly validateEvent: import("element-plus/es/utils/index.mjs").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
392
|
-
readonly tag: string;
|
|
393
|
-
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
388
|
+
}, "type" | "props" | "modelValue" | "disabled" | "tag" | "validateEvent"> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {} & {
|
|
394
389
|
$slots: {
|
|
395
390
|
default?(_: {}): any;
|
|
396
391
|
};
|
|
397
|
-
}
|
|
392
|
+
}>;
|
|
398
393
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
399
394
|
change: (value: CheckboxGroupValueType) => any;
|
|
400
|
-
}, string, import("vue").PublicProps, Readonly<
|
|
395
|
+
}, string, import("vue").PublicProps, Readonly<JaCheckboxGroupProps> & Readonly<{
|
|
401
396
|
onChange?: (value: CheckboxGroupValueType) => any;
|
|
402
397
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
|
|
403
398
|
[x: string]: (props: {}) => any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"JaCheckboxGroup.vue.d.ts","sourceRoot":"","sources":["../../../packages/components/checkboxGroup/JaCheckboxGroup.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"JaCheckboxGroup.vue.d.ts","sourceRoot":"","sources":["../../../packages/components/checkboxGroup/JaCheckboxGroup.vue"],"names":[],"mappings":"AA4DA,OAAO,EAAC,KAAK,sBAAsB,EAAkB,MAAM,cAAc,CAAC;AAC1E,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAA;AAYtD,MAAM,WAAW,oBAAqB,SAAQ,OAAO,CAAC,kBAAkB,CAAC;CACxE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA4GD,wBAA0E;AAQ1E,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import { inject, ref, watch } from "vue";
|
|
1
|
+
import { inject, ref, watch, computed } from "vue";
|
|
2
2
|
import { ElCheckboxGroup } from "element-plus";
|
|
3
3
|
import { getValue, setValue } from "../../utils/objectUtils";
|
|
4
|
-
const input = ref(
|
|
4
|
+
const input = ref();
|
|
5
5
|
const model = inject('aceFormModel');
|
|
6
6
|
const prop = inject('aceFormItemProp');
|
|
7
7
|
const validator = inject('aceFormValidator');
|
|
8
8
|
const emit = defineEmits();
|
|
9
|
+
const props = defineProps();
|
|
9
10
|
function onChange(val) {
|
|
10
11
|
validator.removeFieldError(prop);
|
|
11
12
|
setValue(model.formData, prop, mv.value);
|
|
@@ -17,9 +18,13 @@ watch(() => model.formData, () => {
|
|
|
17
18
|
}, {
|
|
18
19
|
deep: true
|
|
19
20
|
});
|
|
21
|
+
const elementProps = computed(() => {
|
|
22
|
+
const { modelValue, ...rest } = props;
|
|
23
|
+
return rest;
|
|
24
|
+
});
|
|
20
25
|
const __VLS_exposed = {
|
|
21
|
-
focus: () => input.value
|
|
22
|
-
blur: () => input.value
|
|
26
|
+
focus: () => input.value?.focus?.(), // Optional chaining in case ref is not ready or method missing
|
|
27
|
+
blur: () => input.value?.blur?.(), // CheckboxGroup might not expose blur directly on type, but runtime it might
|
|
23
28
|
elCheckboxGroup: input
|
|
24
29
|
};
|
|
25
30
|
defineExpose(__VLS_exposed);
|
|
@@ -34,11 +39,13 @@ const __VLS_1 = __VLS_asFunctionalComponent(__VLS_0, new __VLS_0({
|
|
|
34
39
|
...{ 'onChange': {} },
|
|
35
40
|
ref: "input",
|
|
36
41
|
modelValue: (__VLS_ctx.mv),
|
|
42
|
+
...({ ...__VLS_ctx.elementProps, ...__VLS_ctx.$attrs }),
|
|
37
43
|
}));
|
|
38
44
|
const __VLS_2 = __VLS_1({
|
|
39
45
|
...{ 'onChange': {} },
|
|
40
46
|
ref: "input",
|
|
41
47
|
modelValue: (__VLS_ctx.mv),
|
|
48
|
+
...({ ...__VLS_ctx.elementProps, ...__VLS_ctx.$attrs }),
|
|
42
49
|
}, ...__VLS_functionalComponentArgsRest(__VLS_1));
|
|
43
50
|
let __VLS_4;
|
|
44
51
|
let __VLS_5;
|
|
@@ -59,7 +66,6 @@ for (const [_, name] of __VLS_getVForSourceType((__VLS_ctx.$slots))) {
|
|
|
59
66
|
var __VLS_3;
|
|
60
67
|
// @ts-ignore
|
|
61
68
|
var __VLS_9 = __VLS_8, __VLS_12 = __VLS_11, __VLS_13 = __VLS_10;
|
|
62
|
-
[__VLS_dollars.$attrs,];
|
|
63
69
|
var __VLS_dollars;
|
|
64
70
|
const __VLS_self = (await import('vue')).defineComponent({
|
|
65
71
|
setup() {
|
|
@@ -68,9 +74,11 @@ const __VLS_self = (await import('vue')).defineComponent({
|
|
|
68
74
|
input: input,
|
|
69
75
|
onChange: onChange,
|
|
70
76
|
mv: mv,
|
|
77
|
+
elementProps: elementProps,
|
|
71
78
|
};
|
|
72
79
|
},
|
|
73
80
|
__typeEmits: {},
|
|
81
|
+
__typeProps: {},
|
|
74
82
|
});
|
|
75
83
|
const __VLS_component = (await import('vue')).defineComponent({
|
|
76
84
|
setup() {
|
|
@@ -79,6 +87,7 @@ const __VLS_component = (await import('vue')).defineComponent({
|
|
|
79
87
|
};
|
|
80
88
|
},
|
|
81
89
|
__typeEmits: {},
|
|
90
|
+
__typeProps: {},
|
|
82
91
|
});
|
|
83
92
|
export default {};
|
|
84
93
|
; /* PartiallyEnd: #4569/main.vue */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"JaCheckboxGroup.vue.js","sourceRoot":"","sources":["../../../packages/components/checkboxGroup/JaCheckboxGroup.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"JaCheckboxGroup.vue.js","sourceRoot":"","sources":["../../../packages/components/checkboxGroup/JaCheckboxGroup.vue"],"names":[],"mappings":"AA2DA,OAAO,EAAC,MAAM,EAAE,GAAG,EAAE,KAAK,EAAE,QAAQ,EAAC,MAAM,KAAK,CAAC;AACjD,OAAO,EAA8B,eAAe,EAAC,MAAM,cAAc,CAAC;AAE1E,OAAO,EAAC,QAAQ,EAAE,QAAQ,EAAC,MAAM,yBAAyB,CAAC;AAE3D,MAAM,KAAK,GAAG,GAAG,EAAwC,CAAA;AACzD,MAAM,KAAK,GAAG,MAAM,CAAC,cAAc,CAA0B,CAAA;AAC7D,MAAM,IAAI,GAAG,MAAM,CAAC,iBAAiB,CAAW,CAAA;AAChD,MAAM,SAAS,GAAG,MAAM,CAAC,kBAAkB,CAAuB,CAAA;AAIlE,MAAM,IAAI,GAAG,WAAW,EAAc,CAAA;AAMtC,MAAM,KAAK,GAAG,WAAW,EAAe,CAAA;AAExC,SAAS,QAAQ,CAAC,GAA2B;IACzC,SAAS,CAAC,gBAAgB,CAAC,IAAI,CAAC,CAAA;IAChC,QAAQ,CAAC,KAAK,CAAC,QAAQ,EAAE,IAAI,EAAE,EAAE,CAAC,KAAK,CAAC,CAAC;IACzC,IAAI,CAAC,QAAQ,EAAE,GAAG,CAAC,CAAA;AACvB,CAAC;AAED,MAAM,EAAE,GAAG,GAAG,CAAC,QAAQ,CAAC,KAAK,CAAC,QAAQ,EAAE,IAAI,CAA2B,CAAC,CAAC;AACzE,KAAK,CAAC,GAAG,EAAE,CAAC,KAAK,CAAC,QAAQ,EAAE,GAAG,EAAE;IAC7B,EAAE,CAAC,KAAK,GAAG,QAAQ,CAAC,KAAK,CAAC,QAAQ,EAAE,IAAI,CAA2B,CAAA;AACvE,CAAC,EAAE;IAC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Ae,CAAC;IAC9D,KAAK;QACL,OAAO;YACP,GAAG,aAAa;SACf,CAAC;IACF,CAAC;IACD,WAAW,EAAE,EAAgB;IAC7B,WAAW,EAAE,EAAuB;CACnC,CAAC,CAAC;AACH,eAAe,EAA0D,CAAC;AAC1E,CAAC,CAAA,kCAAkC"}
|
|
@@ -1,7 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
}
|
|
4
|
-
|
|
1
|
+
import type { DatePickerProps } from "element-plus";
|
|
2
|
+
export interface JaDatePickerProps extends Partial<DatePickerProps> {
|
|
3
|
+
}
|
|
4
|
+
declare const _default: __VLS_WithSlots<import("vue").DefineComponent<JaDatePickerProps, any, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
5
|
+
change: (value: any) => any;
|
|
6
|
+
}, string, import("vue").PublicProps, Readonly<JaDatePickerProps> & Readonly<{
|
|
7
|
+
onChange?: (value: any) => any;
|
|
5
8
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
|
|
6
9
|
[x: string]: (props: {}) => any;
|
|
7
10
|
[x: number]: (props: {}) => any;
|