@vunk/form 1.1.65 → 1.1.66
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/component.d.ts +1 -1
- package/components/button/index.css +1 -0
- package/components/button/index.d.ts +1 -1
- package/components/button/index.js +43 -57
- package/components/button/src/ctx.d.ts +13 -13
- package/components/button/src/ctx.js +1 -39
- package/components/button/src/index.css +1 -0
- package/components/button/src/index.vue.d.ts +37 -73
- package/components/button/src/types.d.ts +1 -1
- package/components/cascader/index.css +1 -0
- package/components/cascader/index.d.ts +1 -1
- package/components/cascader/index.js +34 -49
- package/components/cascader/src/ctx.d.ts +15 -15
- package/components/cascader/src/ctx.js +1 -38
- package/components/cascader/src/index.css +1 -0
- package/components/cascader/src/index.vue.d.ts +45 -70
- package/components/cascader/src/use.d.ts +1 -1
- package/components/cascader/src/use.js +1 -28
- package/components/checkbox/index.css +1 -0
- package/components/checkbox/index.d.ts +1 -1
- package/components/checkbox/index.js +48 -53
- package/components/checkbox/src/ctx.d.ts +14 -14
- package/components/checkbox/src/ctx.js +1 -46
- package/components/checkbox/src/index.css +1 -0
- package/components/checkbox/src/index.vue.d.ts +43 -63
- package/components/color-picker/index.css +1 -0
- package/components/color-picker/index.d.ts +1 -1
- package/components/color-picker/index.js +38 -42
- package/components/color-picker/src/ctx.d.ts +15 -13
- package/components/color-picker/src/ctx.js +1 -23
- package/components/color-picker/src/index.css +1 -0
- package/components/color-picker/src/index.vue.d.ts +36 -65
- package/components/date-picker/index.css +1 -0
- package/components/date-picker/index.d.ts +1 -1
- package/components/date-picker/index.js +42 -55
- package/components/date-picker/src/ctx.d.ts +41 -34
- package/components/date-picker/src/ctx.js +1 -31
- package/components/date-picker/src/index.css +1 -0
- package/components/date-picker/src/index.vue.d.ts +122 -133
- package/components/date-picker/src/types.d.ts +9 -9
- package/components/date-picker/src/types.js +1 -11
- package/components/esri-input-geojson/index.css +8 -6
- package/components/esri-input-geojson/index.d.ts +1 -1
- package/components/esri-input-geojson/index.js +417 -535
- package/components/esri-input-geojson/src/append.vue.d.ts +7 -7
- package/components/esri-input-geojson/src/const.d.ts +1 -1
- package/components/esri-input-geojson/src/const.js +1 -33
- package/components/esri-input-geojson/src/ctx.d.ts +44 -35
- package/components/esri-input-geojson/src/ctx.js +1 -128
- package/components/esri-input-geojson/src/default-view.vue.d.ts +9 -9
- package/components/esri-input-geojson/src/index.css +1 -0
- package/components/esri-input-geojson/src/index.vue.d.ts +142 -119
- package/components/esri-input-geojson/src/types.d.ts +1 -0
- package/components/esri-input-geojson/src/viewer.vue.d.ts +23 -22
- package/components/form/index.css +1 -0
- package/components/form/index.d.ts +1 -1
- package/components/form/index.js +57 -87
- package/components/form/src/ctx.d.ts +176 -204
- package/components/form/src/ctx.js +1 -61
- package/components/form/src/index.css +1 -0
- package/components/form/src/index.vue.d.ts +515 -601
- package/components/form/src/types.d.ts +3 -3
- package/components/form/src/utils.d.ts +1 -1
- package/components/form/src/utils.js +1 -55
- package/components/form-item/index.css +1 -0
- package/components/form-item/index.d.ts +1 -1
- package/components/form-item/index.js +22 -50
- package/components/form-item/src/ctx.d.ts +9 -9
- package/components/form-item/src/ctx.js +1 -53
- package/components/form-item/src/index.css +1 -0
- package/components/form-item/src/index.vue.d.ts +26 -26
- package/components/form-item/src/types.d.ts +1 -1
- package/components/form-item-renderer/index.css +1 -0
- package/components/form-item-renderer/index.d.ts +1 -1
- package/components/form-item-renderer/index.js +10 -18
- package/components/form-item-renderer/src/ctx.d.ts +3 -3
- package/components/form-item-renderer/src/ctx.js +1 -16
- package/components/form-item-renderer/src/index.css +1 -0
- package/components/form-item-renderer/src/index.vue.d.ts +9 -9
- package/components/form-item-renderer/src/symbols.js +1 -3
- package/components/form-item-renderer-template/index.css +1 -0
- package/components/form-item-renderer-template/index.d.ts +1 -1
- package/components/form-item-renderer-template/index.js +6 -13
- package/components/form-item-renderer-template/src/ctx.js +1 -9
- package/components/form-item-renderer-template/src/index.css +1 -0
- package/components/form-item-renderer-template/src/index.vue.d.ts +2 -2
- package/components/geoinput/index.css +1 -0
- package/components/geoinput/index.d.ts +1 -1
- package/components/geoinput/index.js +45 -43
- package/components/geoinput/src/ctx.d.ts +42 -28
- package/components/geoinput/src/ctx.js +1 -39
- package/components/geoinput/src/index.css +1 -0
- package/components/geoinput/src/index.vue.d.ts +111 -223
- package/components/geoinput/src/types.d.ts +3 -3
- package/components/geoinput-read/index.css +1 -0
- package/components/geoinput-read/index.d.ts +1 -1
- package/components/geoinput-read/index.js +120 -160
- package/components/geoinput-read/src/append.vue.d.ts +4 -4
- package/components/geoinput-read/src/core.vue.d.ts +130 -104
- package/components/geoinput-read/src/ctx.d.ts +42 -30
- package/components/geoinput-read/src/ctx.js +1 -66
- package/components/geoinput-read/src/index.css +1 -0
- package/components/geoinput-read/src/index.vue.d.ts +108 -151
- package/components/geoinput-read/src/types.d.ts +1 -1
- package/components/geoinput-update/index.css +9 -7
- package/components/geoinput-update/index.d.ts +1 -1
- package/components/geoinput-update/index.js +335 -366
- package/components/geoinput-update/src/append.vue.d.ts +5 -5
- package/components/geoinput-update/src/ctx.d.ts +38 -28
- package/components/geoinput-update/src/ctx.js +1 -85
- package/components/geoinput-update/src/index.css +1 -0
- package/components/geoinput-update/src/index.vue.d.ts +120 -98
- package/components/geoinput-update/src/types.d.ts +2 -2
- package/components/input/index.css +1 -0
- package/components/input/index.d.ts +1 -1
- package/components/input/index.js +43 -60
- package/components/input/src/ctx.d.ts +31 -25
- package/components/input/src/ctx.js +1 -46
- package/components/input/src/index.css +1 -0
- package/components/input/src/index.vue.d.ts +94 -110
- package/components/input/src/types.d.ts +2 -2
- package/components/input-link/index.css +1 -0
- package/components/input-link/index.d.ts +1 -1
- package/components/input-link/index.js +71 -92
- package/components/input-link/src/ctx.d.ts +26 -20
- package/components/input-link/src/ctx.js +1 -66
- package/components/input-link/src/index.css +1 -0
- package/components/input-link/src/index.vue.d.ts +72 -116
- package/components/input-number/index.css +1 -0
- package/components/input-number/index.d.ts +1 -1
- package/components/input-number/index.js +37 -45
- package/components/input-number/src/ctx.d.ts +15 -15
- package/components/input-number/src/ctx.js +1 -38
- package/components/input-number/src/index.css +1 -0
- package/components/input-number/src/index.vue.d.ts +42 -65
- package/components/input-number/src/types.d.ts +1 -1
- package/components/radio/index.css +1 -0
- package/components/radio/index.d.ts +1 -1
- package/components/radio/index.js +45 -50
- package/components/radio/src/ctx.d.ts +11 -11
- package/components/radio/src/ctx.js +1 -39
- package/components/radio/src/index.css +1 -0
- package/components/radio/src/index.vue.d.ts +41 -60
- package/components/radio/src/types.d.ts +1 -1
- package/components/select/index.css +1 -0
- package/components/select/index.d.ts +1 -1
- package/components/select/index.js +59 -64
- package/components/select/src/ctx.d.ts +39 -41
- package/components/select/src/ctx.js +1 -40
- package/components/select/src/index.css +1 -0
- package/components/select/src/index.vue.d.ts +130 -162
- package/components/select/src/types.d.ts +2 -2
- package/components/slider/index.css +1 -0
- package/components/slider/index.d.ts +1 -1
- package/components/slider/index.js +33 -50
- package/components/slider/src/ctx.d.ts +18 -18
- package/components/slider/src/ctx.js +1 -29
- package/components/slider/src/index.css +1 -0
- package/components/slider/src/index.vue.d.ts +62 -81
- package/components/switch/index.css +1 -0
- package/components/switch/index.d.ts +1 -1
- package/components/switch/index.js +33 -50
- package/components/switch/src/ctx.d.ts +22 -22
- package/components/switch/src/ctx.js +1 -31
- package/components/switch/src/index.css +1 -0
- package/components/switch/src/index.vue.d.ts +65 -83
- package/components/switch/src/types.d.ts +1 -1
- package/components/templates-default/index.css +1 -0
- package/components/templates-default/index.d.ts +1 -1
- package/components/templates-default/index.js +243 -172
- package/components/templates-default/src/ctx.d.ts +1 -1
- package/components/templates-default/src/ctx.js +1 -18
- package/components/templates-default/src/index.css +1 -0
- package/components/templates-default/src/index.vue.d.ts +9 -9
- package/components/templates-default/src/types.d.ts +16 -16
- package/components/templates-element-plus/index.css +1 -0
- package/components/templates-element-plus/index.d.ts +1 -1
- package/components/templates-element-plus/index.js +66 -36
- package/components/templates-element-plus/src/ctx.js +1 -9
- package/components/templates-element-plus/src/index.css +1 -0
- package/components/templates-element-plus/src/index.vue.d.ts +7 -7
- package/components/templates-element-plus/src/types.d.ts +1 -1
- package/components/templates-esri/index.css +1 -0
- package/components/templates-esri/index.d.ts +1 -1
- package/components/templates-esri/index.js +25 -24
- package/components/templates-esri/src/ctx.d.ts +1 -1
- package/components/templates-esri/src/ctx.js +1 -11
- package/components/templates-esri/src/index.css +1 -0
- package/components/templates-esri/src/index.vue.d.ts +6 -6
- package/components/templates-esri/src/types.d.ts +1 -1
- package/components/templates-layout/index.css +1 -0
- package/components/templates-layout/index.d.ts +1 -1
- package/components/templates-layout/index.js +96 -63
- package/components/templates-layout/src/ctx.js +1 -9
- package/components/templates-layout/src/index.css +1 -0
- package/components/templates-layout/src/index.vue.d.ts +7 -7
- package/components/templates-layout/src/types.d.ts +3 -3
- package/components/templates-mapbox/index.css +1 -0
- package/components/templates-mapbox/index.d.ts +1 -1
- package/components/templates-mapbox/index.js +25 -24
- package/components/templates-mapbox/src/ctx.d.ts +1 -1
- package/components/templates-mapbox/src/ctx.js +1 -11
- package/components/templates-mapbox/src/index.css +1 -0
- package/components/templates-mapbox/src/index.vue.d.ts +6 -6
- package/components/templates-mapbox/src/types.d.ts +1 -1
- package/components/upload/index.css +11 -9
- package/components/upload/index.d.ts +1 -1
- package/components/upload/index.js +264 -289
- package/components/upload/src/ctx.d.ts +21 -16
- package/components/upload/src/ctx.js +1 -45
- package/components/upload/src/file.vue.d.ts +19 -19
- package/components/upload/src/index.css +1 -0
- package/components/upload/src/index.vue.d.ts +54 -62
- package/components/upload-plus/index.css +1 -0
- package/components/upload-plus/index.d.ts +1 -1
- package/components/upload-plus/index.js +911 -9539
- package/components/upload-plus/src/api.d.ts +3 -3
- package/components/upload-plus/src/api.js +21 -18114
- package/components/upload-plus/src/const.js +1 -12
- package/components/upload-plus/src/ctx.d.ts +13 -13
- package/components/upload-plus/src/ctx.js +1 -58
- package/components/upload-plus/src/index.css +1 -0
- package/components/upload-plus/src/index.vue.d.ts +31 -48
- package/components/upload-plus/src/types.d.ts +1 -1
- package/components/van-cascader/index.css +1 -0
- package/components/van-cascader/index.d.ts +1 -1
- package/components/van-cascader/index.js +47 -55
- package/components/van-cascader/src/ctx.d.ts +13 -13
- package/components/van-cascader/src/ctx.js +1 -22
- package/components/van-cascader/src/index.css +1 -0
- package/components/van-cascader/src/index.vue.d.ts +40 -57
- package/components/var-datetime-picker/index.css +1 -0
- package/components/var-datetime-picker/index.d.ts +1 -1
- package/components/var-datetime-picker/index.js +137 -168
- package/components/var-datetime-picker/src/const.js +1 -91
- package/components/var-datetime-picker/src/ctx.d.ts +10 -10
- package/components/var-datetime-picker/src/ctx.js +1 -43
- package/components/var-datetime-picker/src/index.css +1 -0
- package/components/var-datetime-picker/src/index.vue.d.ts +26 -42
- package/components/var-datetime-picker/src/types.d.ts +1 -1
- package/components/vditor/index.css +1 -0
- package/components/vditor/index.d.ts +1 -1
- package/components/vditor/index.js +22 -17
- package/components/vditor/src/ctx.js +1 -15
- package/components/vditor/src/index.css +1 -0
- package/components/vditor/src/index.vue.d.ts +4 -3
- package/components/vditor/src/types.d.ts +1 -1
- package/composables/index.css +1 -0
- package/composables/index.js +1 -104
- package/composables/useForm.d.ts +2 -2
- package/composables/useSourceManager.d.ts +1 -1
- package/index.css +127 -20
- package/index.esm.js +1 -44
- package/package.json +1 -1
- package/shared/const/index.css +1 -0
- package/shared/const/index.d.ts +1 -1
- package/shared/const/index.js +1 -56
- package/shared/element-plus/ctx.d.ts +28 -26
- package/shared/element-plus/index.css +1 -0
- package/shared/element-plus/index.js +1 -220
- package/shared/element-plus/instances.d.ts +45 -38
- package/shared/form/index.css +1 -0
- package/shared/form/index.js +1 -30
- package/shared/helper/index.css +1 -0
- package/shared/helper/index.js +1 -9
- package/shared/index.css +1 -0
- package/shared/index.js +1 -56
- package/shared/infer-prop/index.css +1 -0
- package/shared/infer-prop/index.d.ts +1 -1
- package/shared/infer-prop/index.js +1 -34
- package/shared/progress-it/index.css +1 -0
- package/shared/progress-it/index.d.ts +4 -4
- package/shared/progress-it/index.js +1 -57
- package/shared/rules/index.css +1 -0
- package/shared/rules/index.js +1 -32
- package/shared/types/form/index.css +1 -0
- package/shared/types/index.css +1 -0
- package/shared/types/source/index.css +1 -0
- package/shared/types/source/index.d.ts +2 -2
- package/shared/types/source-manager/index.css +1 -0
- package/shared/upload/index.css +1 -0
- package/shared/upload/index.js +1 -767
|
@@ -18,7 +18,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
18
18
|
};
|
|
19
19
|
readonly: {
|
|
20
20
|
type: BooleanConstructor;
|
|
21
|
-
default:
|
|
21
|
+
default: any;
|
|
22
22
|
};
|
|
23
23
|
uploadUrl: {
|
|
24
24
|
type: StringConstructor;
|
|
@@ -50,27 +50,27 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
50
50
|
};
|
|
51
51
|
inputSlots: {
|
|
52
52
|
type: import("vue").PropType<import("../../input/src/types").InputSlots>;
|
|
53
|
-
default:
|
|
53
|
+
default: any;
|
|
54
54
|
};
|
|
55
|
-
required: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
56
55
|
labelWidth: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
57
56
|
prop: {
|
|
58
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) =>
|
|
57
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => string | string[]) | (() => import("element-plus").FormItemProp) | ((new (...args: any[]) => string | string[]) | (() => import("element-plus").FormItemProp))[], unknown, unknown>>;
|
|
59
58
|
readonly required: false;
|
|
60
|
-
readonly validator: (
|
|
59
|
+
readonly validator: (val: unknown) => boolean;
|
|
61
60
|
__epPropKey: true;
|
|
62
61
|
};
|
|
62
|
+
required: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
63
63
|
rules: {
|
|
64
|
-
readonly type: import("vue").PropType<
|
|
64
|
+
readonly type: import("vue").PropType<unknown>;
|
|
65
65
|
readonly required: false;
|
|
66
|
-
readonly validator: (
|
|
66
|
+
readonly validator: (val: unknown) => boolean;
|
|
67
67
|
__epPropKey: true;
|
|
68
68
|
};
|
|
69
69
|
error: StringConstructor;
|
|
70
70
|
validateStatus: {
|
|
71
71
|
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "error" | "success" | "validating", unknown>>;
|
|
72
72
|
readonly required: false;
|
|
73
|
-
readonly validator: (
|
|
73
|
+
readonly validator: (val: unknown) => boolean;
|
|
74
74
|
__epPropKey: true;
|
|
75
75
|
};
|
|
76
76
|
for: StringConstructor;
|
|
@@ -82,7 +82,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
82
82
|
};
|
|
83
83
|
formItemSlots: {
|
|
84
84
|
type: import("vue").PropType<import("../../form-item/src/types").FormItemSlots>;
|
|
85
|
-
default:
|
|
85
|
+
default: any;
|
|
86
86
|
};
|
|
87
87
|
elRef: {
|
|
88
88
|
type: import("vue").PropType<any>;
|
|
@@ -100,115 +100,65 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
100
100
|
size: {
|
|
101
101
|
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
|
|
102
102
|
readonly required: false;
|
|
103
|
-
readonly validator: (
|
|
103
|
+
readonly validator: (val: unknown) => boolean;
|
|
104
104
|
__epPropKey: true;
|
|
105
105
|
};
|
|
106
106
|
disabled: BooleanConstructor;
|
|
107
107
|
resize: {
|
|
108
108
|
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "horizontal" | "vertical" | "none" | "both", unknown>>;
|
|
109
109
|
readonly required: false;
|
|
110
|
-
readonly validator: (
|
|
110
|
+
readonly validator: (val: unknown) => boolean;
|
|
111
111
|
__epPropKey: true;
|
|
112
112
|
};
|
|
113
|
-
autosize: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) =>
|
|
113
|
+
autosize: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => boolean | {
|
|
114
|
+
minRows?: number;
|
|
115
|
+
maxRows?: number;
|
|
116
|
+
}) | (() => import("element-plus").InputAutoSize) | ((new (...args: any[]) => boolean | {
|
|
117
|
+
minRows?: number;
|
|
118
|
+
maxRows?: number;
|
|
119
|
+
}) | (() => import("element-plus").InputAutoSize))[], unknown, unknown, false, boolean>;
|
|
114
120
|
autocomplete: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "off", boolean>;
|
|
115
121
|
formatter: {
|
|
116
122
|
readonly type: import("vue").PropType<Function>;
|
|
117
123
|
readonly required: false;
|
|
118
|
-
readonly validator: (
|
|
124
|
+
readonly validator: (val: unknown) => boolean;
|
|
119
125
|
__epPropKey: true;
|
|
120
126
|
};
|
|
121
127
|
parser: {
|
|
122
128
|
readonly type: import("vue").PropType<Function>;
|
|
123
129
|
readonly required: false;
|
|
124
|
-
readonly validator: (
|
|
130
|
+
readonly validator: (val: unknown) => boolean;
|
|
125
131
|
__epPropKey: true;
|
|
126
132
|
};
|
|
127
133
|
form: {
|
|
128
134
|
readonly type: import("vue").PropType<string>;
|
|
129
135
|
readonly required: false;
|
|
130
|
-
readonly validator: (
|
|
136
|
+
readonly validator: (val: unknown) => boolean;
|
|
131
137
|
__epPropKey: true;
|
|
132
138
|
};
|
|
133
139
|
clearable: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
134
140
|
showPassword: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
135
141
|
showWordLimit: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
136
142
|
suffixIcon: {
|
|
137
|
-
readonly type: import("vue").PropType<
|
|
143
|
+
readonly type: import("vue").PropType<unknown>;
|
|
138
144
|
readonly required: false;
|
|
139
|
-
readonly validator: (
|
|
145
|
+
readonly validator: (val: unknown) => boolean;
|
|
140
146
|
__epPropKey: true;
|
|
141
147
|
};
|
|
142
148
|
prefixIcon: {
|
|
143
|
-
readonly type: import("vue").PropType<
|
|
149
|
+
readonly type: import("vue").PropType<unknown>;
|
|
144
150
|
readonly required: false;
|
|
145
|
-
readonly validator: (
|
|
151
|
+
readonly validator: (val: unknown) => boolean;
|
|
146
152
|
__epPropKey: true;
|
|
147
153
|
};
|
|
148
154
|
containerRole: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, undefined, boolean>;
|
|
149
155
|
tabindex: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, 0, boolean>;
|
|
150
156
|
validateEvent: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
151
|
-
inputStyle: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("vue").
|
|
157
|
+
inputStyle: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => string | false | import("vue").CSSProperties | import("vue").StyleValue[]) | (() => import("vue").StyleValue) | ((new (...args: any[]) => string | false | import("vue").CSSProperties | import("vue").StyleValue[]) | (() => import("vue").StyleValue))[], unknown, unknown, () => import("element-plus/es/utils").Mutable<{}>, boolean>;
|
|
152
158
|
autofocus: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
153
159
|
}, {
|
|
154
|
-
coreProps: import("vue").ComputedRef<{
|
|
155
|
-
|
|
156
|
-
type: string;
|
|
157
|
-
label: string;
|
|
158
|
-
labelWidth: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
159
|
-
prop: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => import("element-plus").FormItemProp & {}) | (() => import("element-plus").FormItemProp) | ((new (...args: any[]) => import("element-plus").FormItemProp & {}) | (() => import("element-plus").FormItemProp))[], unknown, unknown> | undefined;
|
|
160
|
-
rules: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => FormItemRule | FormItemRule[]) | (() => import("element-plus/es/utils").Arrayable<FormItemRule>) | ((new (...args: any[]) => FormItemRule | FormItemRule[]) | (() => import("element-plus/es/utils").Arrayable<FormItemRule>))[], unknown, unknown> | undefined;
|
|
161
|
-
error: string | undefined;
|
|
162
|
-
validateStatus: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "error" | "success" | "validating", unknown> | undefined;
|
|
163
|
-
for: string | undefined;
|
|
164
|
-
inlineMessage: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, BooleanConstructor], unknown, unknown>;
|
|
165
|
-
showMessage: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
166
|
-
size: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never> | undefined;
|
|
167
|
-
formItemSize: "default" | "small" | "large";
|
|
168
|
-
formItemSlots: import("../../form-item/src/types").FormItemSlots | undefined;
|
|
169
|
-
elRef: any;
|
|
170
|
-
inline: boolean;
|
|
171
|
-
readonly: boolean | undefined;
|
|
172
|
-
labelPosition: "right";
|
|
173
|
-
disabled: boolean;
|
|
174
|
-
autofocus: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
175
|
-
id: string | undefined;
|
|
176
|
-
modelValue: string;
|
|
177
|
-
resize: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "horizontal" | "vertical" | "none" | "both", unknown> | undefined;
|
|
178
|
-
autosize: import("element-plus").InputAutoSize;
|
|
179
|
-
autocomplete: string;
|
|
180
|
-
formatter: Function | undefined;
|
|
181
|
-
parser: Function | undefined;
|
|
182
|
-
placeholder: string;
|
|
183
|
-
form: string | undefined;
|
|
184
|
-
clearable: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
185
|
-
showPassword: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
186
|
-
showWordLimit: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
187
|
-
suffixIcon: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown> | undefined;
|
|
188
|
-
prefixIcon: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown> | undefined;
|
|
189
|
-
containerRole: string | undefined;
|
|
190
|
-
tabindex: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
191
|
-
validateEvent: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
192
|
-
inputStyle: import("vue").StyleValue;
|
|
193
|
-
maxlength: number | undefined;
|
|
194
|
-
minlength: number | undefined;
|
|
195
|
-
inputSlots: import("../../input/src/types").InputSlots | undefined;
|
|
196
|
-
rows: number;
|
|
197
|
-
}>;
|
|
198
|
-
coreEmits: {
|
|
199
|
-
"update:modelValue": (evt: CompositionEvent) => void;
|
|
200
|
-
input: (evt: CompositionEvent) => void;
|
|
201
|
-
change: (evt: CompositionEvent) => void;
|
|
202
|
-
focus: (evt: CompositionEvent) => void;
|
|
203
|
-
blur: (evt: CompositionEvent) => void;
|
|
204
|
-
clear: (evt: CompositionEvent) => void;
|
|
205
|
-
mouseleave: (evt: CompositionEvent) => void;
|
|
206
|
-
mouseenter: (evt: CompositionEvent) => void;
|
|
207
|
-
keydown: (evt: CompositionEvent) => void;
|
|
208
|
-
compositionstart: (evt: CompositionEvent) => void;
|
|
209
|
-
compositionupdate: (evt: CompositionEvent) => void;
|
|
210
|
-
compositionend: (evt: CompositionEvent) => void;
|
|
211
|
-
};
|
|
160
|
+
coreProps: import("vue").ComputedRef<{}>;
|
|
161
|
+
coreEmits: {};
|
|
212
162
|
createAppendEl: (url?: string) => () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
213
163
|
[key: string]: any;
|
|
214
164
|
}>;
|
|
@@ -227,7 +177,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
227
177
|
compositionstart: (evt: CompositionEvent) => boolean;
|
|
228
178
|
compositionupdate: (evt: CompositionEvent) => boolean;
|
|
229
179
|
compositionend: (evt: CompositionEvent) => boolean;
|
|
230
|
-
}, string, import("vue").
|
|
180
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
231
181
|
type: {
|
|
232
182
|
type: StringConstructor;
|
|
233
183
|
default: string;
|
|
@@ -246,7 +196,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
246
196
|
};
|
|
247
197
|
readonly: {
|
|
248
198
|
type: BooleanConstructor;
|
|
249
|
-
default:
|
|
199
|
+
default: any;
|
|
250
200
|
};
|
|
251
201
|
uploadUrl: {
|
|
252
202
|
type: StringConstructor;
|
|
@@ -278,27 +228,27 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
278
228
|
};
|
|
279
229
|
inputSlots: {
|
|
280
230
|
type: import("vue").PropType<import("../../input/src/types").InputSlots>;
|
|
281
|
-
default:
|
|
231
|
+
default: any;
|
|
282
232
|
};
|
|
283
|
-
required: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
284
233
|
labelWidth: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
285
234
|
prop: {
|
|
286
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) =>
|
|
235
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => string | string[]) | (() => import("element-plus").FormItemProp) | ((new (...args: any[]) => string | string[]) | (() => import("element-plus").FormItemProp))[], unknown, unknown>>;
|
|
287
236
|
readonly required: false;
|
|
288
|
-
readonly validator: (
|
|
237
|
+
readonly validator: (val: unknown) => boolean;
|
|
289
238
|
__epPropKey: true;
|
|
290
239
|
};
|
|
240
|
+
required: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
291
241
|
rules: {
|
|
292
|
-
readonly type: import("vue").PropType<
|
|
242
|
+
readonly type: import("vue").PropType<unknown>;
|
|
293
243
|
readonly required: false;
|
|
294
|
-
readonly validator: (
|
|
244
|
+
readonly validator: (val: unknown) => boolean;
|
|
295
245
|
__epPropKey: true;
|
|
296
246
|
};
|
|
297
247
|
error: StringConstructor;
|
|
298
248
|
validateStatus: {
|
|
299
249
|
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "error" | "success" | "validating", unknown>>;
|
|
300
250
|
readonly required: false;
|
|
301
|
-
readonly validator: (
|
|
251
|
+
readonly validator: (val: unknown) => boolean;
|
|
302
252
|
__epPropKey: true;
|
|
303
253
|
};
|
|
304
254
|
for: StringConstructor;
|
|
@@ -310,7 +260,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
310
260
|
};
|
|
311
261
|
formItemSlots: {
|
|
312
262
|
type: import("vue").PropType<import("../../form-item/src/types").FormItemSlots>;
|
|
313
|
-
default:
|
|
263
|
+
default: any;
|
|
314
264
|
};
|
|
315
265
|
elRef: {
|
|
316
266
|
type: import("vue").PropType<any>;
|
|
@@ -328,76 +278,82 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
328
278
|
size: {
|
|
329
279
|
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
|
|
330
280
|
readonly required: false;
|
|
331
|
-
readonly validator: (
|
|
281
|
+
readonly validator: (val: unknown) => boolean;
|
|
332
282
|
__epPropKey: true;
|
|
333
283
|
};
|
|
334
284
|
disabled: BooleanConstructor;
|
|
335
285
|
resize: {
|
|
336
286
|
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "horizontal" | "vertical" | "none" | "both", unknown>>;
|
|
337
287
|
readonly required: false;
|
|
338
|
-
readonly validator: (
|
|
288
|
+
readonly validator: (val: unknown) => boolean;
|
|
339
289
|
__epPropKey: true;
|
|
340
290
|
};
|
|
341
|
-
autosize: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) =>
|
|
291
|
+
autosize: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => boolean | {
|
|
292
|
+
minRows?: number;
|
|
293
|
+
maxRows?: number;
|
|
294
|
+
}) | (() => import("element-plus").InputAutoSize) | ((new (...args: any[]) => boolean | {
|
|
295
|
+
minRows?: number;
|
|
296
|
+
maxRows?: number;
|
|
297
|
+
}) | (() => import("element-plus").InputAutoSize))[], unknown, unknown, false, boolean>;
|
|
342
298
|
autocomplete: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "off", boolean>;
|
|
343
299
|
formatter: {
|
|
344
300
|
readonly type: import("vue").PropType<Function>;
|
|
345
301
|
readonly required: false;
|
|
346
|
-
readonly validator: (
|
|
302
|
+
readonly validator: (val: unknown) => boolean;
|
|
347
303
|
__epPropKey: true;
|
|
348
304
|
};
|
|
349
305
|
parser: {
|
|
350
306
|
readonly type: import("vue").PropType<Function>;
|
|
351
307
|
readonly required: false;
|
|
352
|
-
readonly validator: (
|
|
308
|
+
readonly validator: (val: unknown) => boolean;
|
|
353
309
|
__epPropKey: true;
|
|
354
310
|
};
|
|
355
311
|
form: {
|
|
356
312
|
readonly type: import("vue").PropType<string>;
|
|
357
313
|
readonly required: false;
|
|
358
|
-
readonly validator: (
|
|
314
|
+
readonly validator: (val: unknown) => boolean;
|
|
359
315
|
__epPropKey: true;
|
|
360
316
|
};
|
|
361
317
|
clearable: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
362
318
|
showPassword: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
363
319
|
showWordLimit: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
364
320
|
suffixIcon: {
|
|
365
|
-
readonly type: import("vue").PropType<
|
|
321
|
+
readonly type: import("vue").PropType<unknown>;
|
|
366
322
|
readonly required: false;
|
|
367
|
-
readonly validator: (
|
|
323
|
+
readonly validator: (val: unknown) => boolean;
|
|
368
324
|
__epPropKey: true;
|
|
369
325
|
};
|
|
370
326
|
prefixIcon: {
|
|
371
|
-
readonly type: import("vue").PropType<
|
|
327
|
+
readonly type: import("vue").PropType<unknown>;
|
|
372
328
|
readonly required: false;
|
|
373
|
-
readonly validator: (
|
|
329
|
+
readonly validator: (val: unknown) => boolean;
|
|
374
330
|
__epPropKey: true;
|
|
375
331
|
};
|
|
376
332
|
containerRole: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, undefined, boolean>;
|
|
377
333
|
tabindex: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, 0, boolean>;
|
|
378
334
|
validateEvent: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
379
|
-
inputStyle: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("vue").
|
|
335
|
+
inputStyle: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => string | false | import("vue").CSSProperties | import("vue").StyleValue[]) | (() => import("vue").StyleValue) | ((new (...args: any[]) => string | false | import("vue").CSSProperties | import("vue").StyleValue[]) | (() => import("vue").StyleValue))[], unknown, unknown, () => import("element-plus/es/utils").Mutable<{}>, boolean>;
|
|
380
336
|
autofocus: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
381
337
|
}>> & {
|
|
382
|
-
onChange?: (
|
|
383
|
-
"onUpdate:modelValue"?: (
|
|
384
|
-
onInput?: (
|
|
385
|
-
onFocus?: (
|
|
386
|
-
onBlur?: (
|
|
387
|
-
onClear?: (
|
|
388
|
-
onMouseleave?: (
|
|
389
|
-
onMouseenter?: (
|
|
390
|
-
onKeydown?: (
|
|
391
|
-
onCompositionstart?: (
|
|
392
|
-
onCompositionupdate?: (
|
|
393
|
-
onCompositionend?: (
|
|
338
|
+
onChange?: (value: string) => any;
|
|
339
|
+
"onUpdate:modelValue"?: (value: string) => any;
|
|
340
|
+
onInput?: (value: string) => any;
|
|
341
|
+
onFocus?: (evt: FocusEvent) => any;
|
|
342
|
+
onBlur?: (evt: FocusEvent) => any;
|
|
343
|
+
onClear?: () => any;
|
|
344
|
+
onMouseleave?: (evt: MouseEvent) => any;
|
|
345
|
+
onMouseenter?: (evt: MouseEvent) => any;
|
|
346
|
+
onKeydown?: (evt: Event | KeyboardEvent) => any;
|
|
347
|
+
onCompositionstart?: (evt: CompositionEvent) => any;
|
|
348
|
+
onCompositionupdate?: (evt: CompositionEvent) => any;
|
|
349
|
+
onCompositionend?: (evt: CompositionEvent) => any;
|
|
394
350
|
}, {
|
|
395
|
-
required: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
396
|
-
type: string;
|
|
397
351
|
label: string;
|
|
398
352
|
labelWidth: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
353
|
+
required: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
399
354
|
inlineMessage: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, BooleanConstructor], unknown, unknown>;
|
|
400
355
|
showMessage: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
356
|
+
type: string;
|
|
401
357
|
formItemSize: "default" | "small" | "large";
|
|
402
358
|
formItemSlots: import("../../form-item/src/types").FormItemSlots;
|
|
403
359
|
inline: boolean;
|
|
@@ -407,7 +363,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
407
363
|
autofocus: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
408
364
|
id: string;
|
|
409
365
|
modelValue: string;
|
|
410
|
-
autosize:
|
|
366
|
+
autosize: false;
|
|
411
367
|
autocomplete: string;
|
|
412
368
|
placeholder: string;
|
|
413
369
|
clearable: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -417,11 +373,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
417
373
|
tabindex: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
418
374
|
validateEvent: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
419
375
|
inputStyle: import("vue").StyleValue;
|
|
420
|
-
inputSlots:
|
|
376
|
+
inputSlots: any;
|
|
421
377
|
rows: number;
|
|
422
378
|
uploadUrl: string;
|
|
423
379
|
referenceUrl: string;
|
|
424
380
|
referenceOnly: boolean;
|
|
425
381
|
referenceLabel: string;
|
|
426
|
-
}>;
|
|
382
|
+
}, {}>;
|
|
427
383
|
export default _default;
|
|
@@ -5,26 +5,9 @@ import { defineComponent, resolveComponent, openBlock, createBlock, normalizePro
|
|
|
5
5
|
import { createInputNumberBindProps, createInputNumberOnEmits } from '@vunk/form/shared/element-plus';
|
|
6
6
|
import { useComputedReadonly } from '@vunk/form/composables';
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
12
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
13
|
-
var __propIsEnum = Object.prototype.propertyIsEnumerable;
|
|
14
|
-
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
15
|
-
var __spreadValues = (a, b) => {
|
|
16
|
-
for (var prop in b || (b = {}))
|
|
17
|
-
if (__hasOwnProp.call(b, prop))
|
|
18
|
-
__defNormalProp(a, prop, b[prop]);
|
|
19
|
-
if (__getOwnPropSymbols)
|
|
20
|
-
for (var prop of __getOwnPropSymbols(b)) {
|
|
21
|
-
if (__propIsEnum.call(b, prop))
|
|
22
|
-
__defNormalProp(a, prop, b[prop]);
|
|
23
|
-
}
|
|
24
|
-
return a;
|
|
25
|
-
};
|
|
26
|
-
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
27
|
-
const props = __spreadProps(__spreadValues(__spreadValues({}, _VkfFormItemCtx.props), inputNumberProps), {
|
|
8
|
+
const props = {
|
|
9
|
+
..._VkfFormItemCtx.props,
|
|
10
|
+
...inputNumberProps,
|
|
28
11
|
readonly: {
|
|
29
12
|
type: Boolean,
|
|
30
13
|
default: void 0
|
|
@@ -33,20 +16,14 @@ const props = __spreadProps(__spreadValues(__spreadValues({}, _VkfFormItemCtx.pr
|
|
|
33
16
|
type: String,
|
|
34
17
|
default: ""
|
|
35
18
|
}
|
|
36
|
-
}
|
|
19
|
+
};
|
|
37
20
|
bindPropsFactory(props);
|
|
38
|
-
const emits =
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
var _export_sfc = (sfc, props) => {
|
|
42
|
-
const target = sfc.__vccOpts || sfc;
|
|
43
|
-
for (const [key, val] of props) {
|
|
44
|
-
target[key] = val;
|
|
45
|
-
}
|
|
46
|
-
return target;
|
|
21
|
+
const emits = {
|
|
22
|
+
...inputNumberEmits
|
|
47
23
|
};
|
|
24
|
+
onEmitsFactory(emits);
|
|
48
25
|
|
|
49
|
-
|
|
26
|
+
var script = defineComponent({
|
|
50
27
|
name: "VkfInputNumber",
|
|
51
28
|
components: {
|
|
52
29
|
VkfFormItem,
|
|
@@ -54,7 +31,9 @@ const _sfc_main = defineComponent({
|
|
|
54
31
|
},
|
|
55
32
|
emits,
|
|
56
33
|
props,
|
|
57
|
-
setup(props2, {
|
|
34
|
+
setup(props2, {
|
|
35
|
+
emit
|
|
36
|
+
}) {
|
|
58
37
|
const iBindProps = createInputNumberBindProps(props2, ["disabled", "readonly"]);
|
|
59
38
|
const iOnEmits = createInputNumberOnEmits(emit);
|
|
60
39
|
const formItemBindProps = _VkfFormItemCtx.createBindProps(props2);
|
|
@@ -67,36 +46,49 @@ const _sfc_main = defineComponent({
|
|
|
67
46
|
};
|
|
68
47
|
}
|
|
69
48
|
});
|
|
49
|
+
|
|
70
50
|
const _hoisted_1 = {
|
|
71
51
|
key: 0,
|
|
72
52
|
class: "vkf-input-number-unit"
|
|
73
53
|
};
|
|
74
|
-
function
|
|
54
|
+
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
75
55
|
const _component_ElInputNumber = resolveComponent("ElInputNumber");
|
|
76
56
|
const _component_VkfFormItem = resolveComponent("VkfFormItem");
|
|
77
|
-
return openBlock(), createBlock(
|
|
78
|
-
|
|
79
|
-
|
|
57
|
+
return openBlock(), createBlock(
|
|
58
|
+
_component_VkfFormItem,
|
|
59
|
+
normalizeProps(guardReactiveProps(_ctx.formItemBindProps)),
|
|
60
|
+
{
|
|
61
|
+
default: withCtx(() => [createVNode(_component_ElInputNumber, mergeProps({
|
|
80
62
|
class: {
|
|
81
63
|
"is-readonly": _ctx.readonly
|
|
82
64
|
}
|
|
83
65
|
}, _ctx.iBindProps, toHandlers(_ctx.iOnEmits), {
|
|
84
66
|
readonly: _ctx.readonly,
|
|
85
67
|
disabled: _ctx.readonly || _ctx.disabled
|
|
86
|
-
}), null, 16, ["class", "readonly", "disabled"]),
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
68
|
+
}), null, 16, ["class", "readonly", "disabled"]), _ctx.unit ? (openBlock(), createElementBlock(
|
|
69
|
+
"span",
|
|
70
|
+
_hoisted_1,
|
|
71
|
+
toDisplayString(_ctx.unit),
|
|
72
|
+
1
|
|
73
|
+
/* TEXT */
|
|
74
|
+
)) : createCommentVNode("v-if", true)]),
|
|
75
|
+
_: 1
|
|
76
|
+
/* STABLE */
|
|
77
|
+
},
|
|
78
|
+
16
|
|
79
|
+
/* FULL_PROPS */
|
|
80
|
+
);
|
|
91
81
|
}
|
|
92
|
-
|
|
82
|
+
|
|
83
|
+
script.render = render;
|
|
84
|
+
script.__file = "input-number/src/index.vue";
|
|
93
85
|
|
|
94
86
|
var types = /*#__PURE__*/Object.freeze({
|
|
95
87
|
__proto__: null
|
|
96
88
|
});
|
|
97
89
|
|
|
98
|
-
|
|
99
|
-
app.component(
|
|
90
|
+
script.install = (app) => {
|
|
91
|
+
app.component(script.name, script);
|
|
100
92
|
};
|
|
101
93
|
|
|
102
|
-
export { VkfInputNumber, types as __VkfInputNumber,
|
|
94
|
+
export { script as VkfInputNumber, types as __VkfInputNumber, script as default };
|