@fangzhongya/fang-ui 0.0.36 → 0.0.37
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/dates/index.css +1 -1
- package/dist/components/index.scss +2 -2
- package/dist/components/index2.scss +2 -2
- package/dist/components/input-array/src/index.cjs +6 -5
- package/dist/components/input-array/src/index.js +2 -1
- package/dist/components/input-select/index.cjs +3 -2
- package/dist/components/input-select/index.css +25 -11
- package/dist/components/input-select/index.d.ts +69 -210
- package/dist/components/input-select/index.js +3 -2
- package/dist/components/input-select/index.scss +4 -4
- package/dist/components/input-select/src/index.cjs +220 -5
- package/dist/components/input-select/src/index.d.ts +136 -419
- package/dist/components/input-select/src/index.js +220 -5
- package/dist/components/input-select/src/index2.cjs +2 -219
- package/dist/components/input-select/src/index2.js +1 -218
- package/dist/index.css +82 -24
- package/package.json +3 -3
- /package/dist/components/{time-picker → config-provider}/index.css +0 -0
- /package/dist/components/{forms-item → forms-items}/index.css +0 -0
|
@@ -72,5 +72,5 @@
|
|
|
72
72
|
@use './paging/style/index2.scss' as *;
|
|
73
73
|
@use './tables/style/index2.scss' as *;
|
|
74
74
|
@use './tablesp/style/index2.scss' as *;
|
|
75
|
-
@use './
|
|
76
|
-
@use './
|
|
75
|
+
@use './tablesv/style/index2.scss' as *;
|
|
76
|
+
@use './tablesvp/style/index2.scss' as *;
|
|
@@ -3,7 +3,8 @@ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toString
|
|
|
3
3
|
const vue = require("vue");
|
|
4
4
|
const data = require("./data.cjs");
|
|
5
5
|
const index = require("../../../hooks/cssname/index.cjs");
|
|
6
|
-
const
|
|
6
|
+
const index$1 = require("element-plus/es/components/input-number/index");
|
|
7
|
+
const index$2 = require("element-plus/es/components/input/index");
|
|
7
8
|
const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
8
9
|
__name: "index",
|
|
9
10
|
props: data.dataProps,
|
|
@@ -135,7 +136,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
135
136
|
onClick: vue.withModifiers(onClick, ["stop"])
|
|
136
137
|
}, [
|
|
137
138
|
vue.renderSlot(_ctx.$slots, vue.unref(data.dataSlot).prefix),
|
|
138
|
-
props.isNumber ? (vue.openBlock(), vue.createBlock(vue.unref(
|
|
139
|
+
props.isNumber ? (vue.openBlock(), vue.createBlock(vue.unref(index$1.ElInputNumber), {
|
|
139
140
|
key: 0,
|
|
140
141
|
class: vue.normalizeClass([vue.unref(cs).z("input")]),
|
|
141
142
|
modelValue: start.value,
|
|
@@ -147,7 +148,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
147
148
|
onInput: omInput,
|
|
148
149
|
onClick: vue.withModifiers(onFocus, ["stop"]),
|
|
149
150
|
onBlur
|
|
150
|
-
}, null, 8, ["class", "modelValue", "readonly", "clearable", "placeholder", "controls-position"])) : (vue.openBlock(), vue.createBlock(vue.unref(
|
|
151
|
+
}, null, 8, ["class", "modelValue", "readonly", "clearable", "placeholder", "controls-position"])) : (vue.openBlock(), vue.createBlock(vue.unref(index$2.ElInput), {
|
|
151
152
|
key: 1,
|
|
152
153
|
class: vue.normalizeClass([vue.unref(cs).z("input")]),
|
|
153
154
|
modelValue: start.value,
|
|
@@ -162,7 +163,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
162
163
|
vue.createElementVNode("span", {
|
|
163
164
|
class: vue.normalizeClass([vue.unref(cs).z("range")])
|
|
164
165
|
}, vue.toDisplayString(props.rangeSeparator), 3),
|
|
165
|
-
props.isNumber ? (vue.openBlock(), vue.createBlock(vue.unref(
|
|
166
|
+
props.isNumber ? (vue.openBlock(), vue.createBlock(vue.unref(index$1.ElInputNumber), {
|
|
166
167
|
key: 2,
|
|
167
168
|
class: vue.normalizeClass([vue.unref(cs).z("input")]),
|
|
168
169
|
modelValue: end.value,
|
|
@@ -174,7 +175,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
174
175
|
onClick: vue.withModifiers(onFocus, ["stop"]),
|
|
175
176
|
onInput: omInput,
|
|
176
177
|
onBlur
|
|
177
|
-
}, null, 8, ["class", "modelValue", "readonly", "clearable", "placeholder", "controls-position"])) : (vue.openBlock(), vue.createBlock(vue.unref(
|
|
178
|
+
}, null, 8, ["class", "modelValue", "readonly", "clearable", "placeholder", "controls-position"])) : (vue.openBlock(), vue.createBlock(vue.unref(index$2.ElInput), {
|
|
178
179
|
key: 3,
|
|
179
180
|
class: vue.normalizeClass([vue.unref(cs).z("input")]),
|
|
180
181
|
modelValue: end.value,
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, watch, createElementBlock, openBlock, withModifiers, normalizeClass, unref, renderSlot, createBlock, createElementVNode, createCommentVNode, toDisplayString } from "vue";
|
|
2
2
|
import { dataEmits, dataProps, dataExpose, dataSlot } from "./data.js";
|
|
3
3
|
import { useCssName } from "../../../hooks/cssname/index.js";
|
|
4
|
-
import { ElInputNumber
|
|
4
|
+
import { ElInputNumber } from "element-plus/es/components/input-number/index";
|
|
5
|
+
import { ElInput } from "element-plus/es/components/input/index";
|
|
5
6
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
6
7
|
__name: "index",
|
|
7
8
|
props: dataProps,
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
+
;/* empty css */
|
|
3
4
|
const withInstall = require("../../utils/vues/withInstall.cjs");
|
|
4
|
-
const
|
|
5
|
-
const InputSelect = withInstall.withInstall(
|
|
5
|
+
const index_vue_vue_type_script_setup_true_lang = require("./src/index.cjs");
|
|
6
|
+
const InputSelect = withInstall.withInstall(index_vue_vue_type_script_setup_true_lang.default, "InputSelect");
|
|
6
7
|
exports.InputSelect = InputSelect;
|
|
7
8
|
exports.default = InputSelect;
|
|
@@ -1,4 +1,18 @@
|
|
|
1
|
-
|
|
1
|
+
:root {
|
|
2
|
+
--on: rgb(91, 189, 246);
|
|
3
|
+
--color-primary: #409eff;
|
|
4
|
+
--bag-primary: #409eff;
|
|
5
|
+
--bag-primary-text: #fff;
|
|
6
|
+
--border: #eee;
|
|
7
|
+
--layout-panel-gap: 10px;
|
|
8
|
+
--layout-panel-padding: 20px;
|
|
9
|
+
--layout-form-item-padding-right: var(
|
|
10
|
+
--layout-panel-gap
|
|
11
|
+
);
|
|
12
|
+
--g-main-bg: var(--bg-color-page);
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.input-select-select-icon {
|
|
2
16
|
margin-left: 8px;
|
|
3
17
|
display: inline-flex;
|
|
4
18
|
pointer-events: all;
|
|
@@ -8,31 +22,31 @@
|
|
|
8
22
|
transform: rotate(0);
|
|
9
23
|
transition: transform 0.3s;
|
|
10
24
|
}
|
|
11
|
-
.input-select
|
|
25
|
+
.input-select-select-icon.is-reverse {
|
|
12
26
|
transform: rotate(-180deg);
|
|
13
27
|
}
|
|
14
|
-
.input-select
|
|
28
|
+
.input-select-select-icon svg {
|
|
15
29
|
width: 1rem;
|
|
16
30
|
height: 1rem;
|
|
17
31
|
}
|
|
18
|
-
.input-select.is-disabled .input-select-select-icon
|
|
32
|
+
.input-select.is-disabled .input-select-select-icon {
|
|
19
33
|
cursor: not-allowed;
|
|
20
34
|
}
|
|
21
|
-
.input-select-popper
|
|
35
|
+
.input-select-popper {
|
|
22
36
|
padding: 6px 0 !important;
|
|
23
37
|
}
|
|
24
|
-
.input-select-popper .input-select-select
|
|
38
|
+
.input-select-popper .input-select-select {
|
|
25
39
|
max-height: 274px;
|
|
26
40
|
height: 100%;
|
|
27
41
|
overflow-y: auto;
|
|
28
42
|
}
|
|
29
|
-
.input-select-popper .input-select-select .input-select-select-ul
|
|
43
|
+
.input-select-popper .input-select-select .input-select-select-ul {
|
|
30
44
|
list-style: none;
|
|
31
45
|
margin: 6px 0;
|
|
32
46
|
padding: 0;
|
|
33
47
|
box-sizing: border-box;
|
|
34
48
|
}
|
|
35
|
-
.input-select-popper .input-select-select .input-select-select-li
|
|
49
|
+
.input-select-popper .input-select-select .input-select-select-li {
|
|
36
50
|
padding: 0 32px 0 20px;
|
|
37
51
|
position: relative;
|
|
38
52
|
white-space: nowrap;
|
|
@@ -44,14 +58,14 @@
|
|
|
44
58
|
box-sizing: border-box;
|
|
45
59
|
cursor: pointer;
|
|
46
60
|
}
|
|
47
|
-
.input-select-popper .input-select-select .input-select-select-li.hover
|
|
61
|
+
.input-select-popper .input-select-select .input-select-select-li.hover, .input-select-popper .input-select-select .input-select-select-li:hover {
|
|
48
62
|
background-color: #f5f7fa;
|
|
49
63
|
}
|
|
50
|
-
.input-select-popper .input-select-select .input-select-select-li.selected
|
|
64
|
+
.input-select-popper .input-select-select .input-select-select-li.selected {
|
|
51
65
|
color: var(--bv-color-primary);
|
|
52
66
|
font-weight: 700;
|
|
53
67
|
}
|
|
54
|
-
.input-select-popper .input-select-select .input-select-select-li.is-disabled
|
|
68
|
+
.input-select-popper .input-select-select .input-select-select-li.is-disabled {
|
|
55
69
|
background-color: #ffffff;
|
|
56
70
|
color: #a8abb2;
|
|
57
71
|
cursor: not-allowed;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { SFCWithInstall } from '../../utils/vues';
|
|
2
2
|
import { CreateComponentPublicInstanceWithMixins, ExtractPropTypes, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentInternalInstance, StyleValue, CSSProperties, Component, VNodeProps, AllowedComponentProps, ComponentCustomProps, Slot, ComponentPublicInstance, ComponentOptionsBase, PropType, ShallowRef, ComputedRef, Ref, ComponentProvideOptions, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties } from 'vue';
|
|
3
|
-
import {
|
|
3
|
+
import { EpPropMergeType, EpPropFinalized, Mutable } from 'element-plus/es/utils';
|
|
4
|
+
import { InputAutoSize } from 'element-plus/es/components/input';
|
|
4
5
|
import { OnCleanup } from '@vue/reactivity';
|
|
5
6
|
declare const InputSelect: SFCWithInstall<{
|
|
6
7
|
new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly< ExtractPropTypes<{
|
|
@@ -62,16 +63,16 @@ declare const InputSelect: SFCWithInstall<{
|
|
|
62
63
|
readonly disabled: boolean;
|
|
63
64
|
readonly id: string;
|
|
64
65
|
readonly type: string;
|
|
65
|
-
readonly modelValue: string | number | null | undefined
|
|
66
|
-
readonly tabindex:
|
|
66
|
+
readonly modelValue: EpPropMergeType<(new (...args: any[]) => string | number) | (() => string | number | null | undefined) | ((new (...args: any[]) => string | number) | (() => string | number | null | undefined))[], unknown, unknown>;
|
|
67
|
+
readonly tabindex: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
67
68
|
readonly readonly: boolean;
|
|
68
69
|
readonly autosize: InputAutoSize;
|
|
69
70
|
readonly autocomplete: string;
|
|
70
71
|
readonly containerRole: string;
|
|
71
|
-
readonly validateEvent:
|
|
72
|
+
readonly validateEvent: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
72
73
|
readonly inputStyle: StyleValue;
|
|
73
74
|
readonly rows: number;
|
|
74
|
-
readonly inputmode: "text" | "search" | "none" | "url" | "email" | "tel" | "numeric" | "decimal" | undefined
|
|
75
|
+
readonly inputmode: EpPropMergeType<(new (...args: any[]) => "search" | "text" | "none" | "url" | "email" | "tel" | "numeric" | "decimal") | (() => "search" | "text" | "none" | "url" | "email" | "tel" | "numeric" | "decimal" | undefined) | ((new (...args: any[]) => "search" | "text" | "none" | "url" | "email" | "tel" | "numeric" | "decimal") | (() => "search" | "text" | "none" | "url" | "email" | "tel" | "numeric" | "decimal" | undefined))[], unknown, unknown>;
|
|
75
76
|
readonly clearable: boolean;
|
|
76
77
|
readonly showPassword: boolean;
|
|
77
78
|
readonly showWordLimit: boolean;
|
|
@@ -81,8 +82,8 @@ declare const InputSelect: SFCWithInstall<{
|
|
|
81
82
|
readonly modelValue: string | number | null;
|
|
82
83
|
readonly disabled: boolean;
|
|
83
84
|
readonly autofocus: boolean;
|
|
84
|
-
readonly tabindex:
|
|
85
|
-
readonly validateEvent:
|
|
85
|
+
readonly tabindex: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
86
|
+
readonly validateEvent: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
86
87
|
readonly clearable: boolean;
|
|
87
88
|
readonly readonly: boolean;
|
|
88
89
|
readonly autosize: InputAutoSize;
|
|
@@ -91,20 +92,20 @@ declare const InputSelect: SFCWithInstall<{
|
|
|
91
92
|
readonly showWordLimit: boolean;
|
|
92
93
|
readonly inputStyle: string | false | CSSProperties | StyleValue[] | null;
|
|
93
94
|
readonly rows: number;
|
|
94
|
-
readonly size?:
|
|
95
|
+
readonly size?: EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never> | undefined;
|
|
95
96
|
readonly name?: string | undefined;
|
|
96
97
|
readonly form?: string | undefined;
|
|
97
98
|
readonly placeholder?: string | undefined;
|
|
98
99
|
readonly ariaLabel?: string | undefined;
|
|
99
100
|
readonly id?: string | undefined;
|
|
100
|
-
readonly prefixIcon?: (string | Component) | undefined;
|
|
101
|
-
readonly inputmode?: "text" | "search" | "none" | "url" | "email" | "tel" | "numeric" | "decimal" | undefined
|
|
102
|
-
readonly maxlength?:
|
|
103
|
-
readonly minlength?:
|
|
104
|
-
readonly resize?:
|
|
101
|
+
readonly prefixIcon?: EpPropMergeType<(new (...args: any[]) => (string | Component) & {}) | (() => string | Component) | ((new (...args: any[]) => (string | Component) & {}) | (() => string | Component))[], unknown, unknown> | undefined;
|
|
102
|
+
readonly inputmode?: EpPropMergeType<(new (...args: any[]) => "search" | "text" | "none" | "url" | "email" | "tel" | "numeric" | "decimal") | (() => "search" | "text" | "none" | "url" | "email" | "tel" | "numeric" | "decimal" | undefined) | ((new (...args: any[]) => "search" | "text" | "none" | "url" | "email" | "tel" | "numeric" | "decimal") | (() => "search" | "text" | "none" | "url" | "email" | "tel" | "numeric" | "decimal" | undefined))[], unknown, unknown>;
|
|
103
|
+
readonly maxlength?: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown> | undefined;
|
|
104
|
+
readonly minlength?: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown> | undefined;
|
|
105
|
+
readonly resize?: EpPropMergeType<StringConstructor, "none" | "horizontal" | "vertical" | "both", unknown> | undefined;
|
|
105
106
|
readonly formatter?: Function | undefined;
|
|
106
107
|
readonly parser?: Function | undefined;
|
|
107
|
-
readonly suffixIcon?: (string | Component) | undefined;
|
|
108
|
+
readonly suffixIcon?: EpPropMergeType<(new (...args: any[]) => (string | Component) & {}) | (() => string | Component) | ((new (...args: any[]) => (string | Component) & {}) | (() => string | Component))[], unknown, unknown> | undefined;
|
|
108
109
|
readonly containerRole?: string | undefined;
|
|
109
110
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined | undefined;
|
|
110
111
|
onChange?: ((value: string) => any) | undefined | undefined;
|
|
@@ -134,81 +135,45 @@ declare const InputSelect: SFCWithInstall<{
|
|
|
134
135
|
$emit: ((event: "clear") => void) & ((event: "input", value: string) => void) & ((event: "change", value: string) => void) & ((event: "update:modelValue", value: string) => void) & ((event: "focus", evt: FocusEvent) => void) & ((event: "blur", evt: FocusEvent) => void) & ((event: "compositionend", evt: CompositionEvent) => void) & ((event: "compositionstart", evt: CompositionEvent) => void) & ((event: "compositionupdate", evt: CompositionEvent) => void) & ((event: "keydown", evt: Event | KeyboardEvent) => void) & ((event: "mouseenter", evt: MouseEvent) => void) & ((event: "mouseleave", evt: MouseEvent) => void);
|
|
135
136
|
$el: any;
|
|
136
137
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
137
|
-
readonly inputmode:
|
|
138
|
-
readonly type: PropType<"text" | "search" | "none" | "url" | "email" | "tel" | "numeric" | "decimal" | undefined>;
|
|
139
|
-
readonly required: false;
|
|
140
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
141
|
-
__epPropKey: true;
|
|
142
|
-
} & {
|
|
143
|
-
readonly default: undefined;
|
|
144
|
-
};
|
|
138
|
+
readonly inputmode: EpPropFinalized<(new (...args: any[]) => "search" | "text" | "none" | "url" | "email" | "tel" | "numeric" | "decimal") | (() => "search" | "text" | "none" | "url" | "email" | "tel" | "numeric" | "decimal" | undefined) | ((new (...args: any[]) => "search" | "text" | "none" | "url" | "email" | "tel" | "numeric" | "decimal") | (() => "search" | "text" | "none" | "url" | "email" | "tel" | "numeric" | "decimal" | undefined))[], unknown, unknown, undefined, boolean>;
|
|
145
139
|
readonly name: StringConstructor;
|
|
146
140
|
readonly ariaLabel: StringConstructor;
|
|
147
|
-
readonly id:
|
|
148
|
-
readonly type: PropType<string>;
|
|
149
|
-
readonly required: false;
|
|
150
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
151
|
-
__epPropKey: true;
|
|
152
|
-
} & {
|
|
153
|
-
readonly default: undefined;
|
|
154
|
-
};
|
|
141
|
+
readonly id: EpPropFinalized<StringConstructor, unknown, unknown, undefined, boolean>;
|
|
155
142
|
readonly size: {
|
|
156
|
-
readonly type: PropType<"" | "
|
|
143
|
+
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", never>>;
|
|
157
144
|
readonly required: false;
|
|
158
145
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
159
146
|
__epPropKey: true;
|
|
160
147
|
};
|
|
161
148
|
readonly disabled: BooleanConstructor;
|
|
162
|
-
readonly modelValue:
|
|
163
|
-
readonly type: PropType<string | number | null | undefined>;
|
|
164
|
-
readonly required: false;
|
|
165
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
166
|
-
__epPropKey: true;
|
|
167
|
-
} & {
|
|
168
|
-
readonly default: "";
|
|
169
|
-
};
|
|
149
|
+
readonly modelValue: EpPropFinalized<(new (...args: any[]) => string | number) | (() => string | number | null | undefined) | ((new (...args: any[]) => string | number) | (() => string | number | null | undefined))[], unknown, unknown, "", boolean>;
|
|
170
150
|
readonly maxlength: {
|
|
171
|
-
readonly type: PropType<
|
|
151
|
+
readonly type: PropType<EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>>;
|
|
172
152
|
readonly required: false;
|
|
173
153
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
174
154
|
__epPropKey: true;
|
|
175
155
|
};
|
|
176
156
|
readonly minlength: {
|
|
177
|
-
readonly type: PropType<
|
|
178
|
-
readonly required: false;
|
|
179
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
180
|
-
__epPropKey: true;
|
|
181
|
-
};
|
|
182
|
-
readonly type: {
|
|
183
|
-
readonly type: PropType<string>;
|
|
157
|
+
readonly type: PropType<EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>>;
|
|
184
158
|
readonly required: false;
|
|
185
159
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
186
160
|
__epPropKey: true;
|
|
187
|
-
} & {
|
|
188
|
-
readonly default: "text";
|
|
189
161
|
};
|
|
162
|
+
readonly type: EpPropFinalized<StringConstructor, unknown, unknown, "text", boolean>;
|
|
190
163
|
readonly resize: {
|
|
191
|
-
readonly type: PropType<"none" | "
|
|
192
|
-
readonly required: false;
|
|
193
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
194
|
-
__epPropKey: true;
|
|
195
|
-
};
|
|
196
|
-
readonly autosize: {
|
|
197
|
-
readonly type: PropType<InputAutoSize>;
|
|
198
|
-
readonly required: false;
|
|
199
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
200
|
-
__epPropKey: true;
|
|
201
|
-
} & {
|
|
202
|
-
readonly default: false;
|
|
203
|
-
};
|
|
204
|
-
readonly autocomplete: {
|
|
205
|
-
readonly type: PropType<string>;
|
|
164
|
+
readonly type: PropType<EpPropMergeType<StringConstructor, "none" | "both" | "horizontal" | "vertical", unknown>>;
|
|
206
165
|
readonly required: false;
|
|
207
166
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
208
167
|
__epPropKey: true;
|
|
209
|
-
} & {
|
|
210
|
-
readonly default: "off";
|
|
211
168
|
};
|
|
169
|
+
readonly autosize: EpPropFinalized<(new (...args: any[]) => boolean | {
|
|
170
|
+
minRows?: number;
|
|
171
|
+
maxRows?: number;
|
|
172
|
+
}) | (() => InputAutoSize) | ((new (...args: any[]) => boolean | {
|
|
173
|
+
minRows?: number;
|
|
174
|
+
maxRows?: number;
|
|
175
|
+
}) | (() => InputAutoSize))[], unknown, unknown, false, boolean>;
|
|
176
|
+
readonly autocomplete: EpPropFinalized<StringConstructor, unknown, unknown, "off", boolean>;
|
|
212
177
|
readonly formatter: {
|
|
213
178
|
readonly type: PropType<Function>;
|
|
214
179
|
readonly required: false;
|
|
@@ -238,58 +203,23 @@ declare const InputSelect: SFCWithInstall<{
|
|
|
238
203
|
readonly showPassword: BooleanConstructor;
|
|
239
204
|
readonly showWordLimit: BooleanConstructor;
|
|
240
205
|
readonly suffixIcon: {
|
|
241
|
-
readonly type: PropType<string | Component
|
|
206
|
+
readonly type: PropType<EpPropMergeType<(new (...args: any[]) => (string | Component) & {}) | (() => string | Component) | ((new (...args: any[]) => (string | Component) & {}) | (() => string | Component))[], unknown, unknown>>;
|
|
242
207
|
readonly required: false;
|
|
243
208
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
244
209
|
__epPropKey: true;
|
|
245
210
|
};
|
|
246
211
|
readonly prefixIcon: {
|
|
247
|
-
readonly type: PropType<string | Component
|
|
248
|
-
readonly required: false;
|
|
249
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
250
|
-
__epPropKey: true;
|
|
251
|
-
};
|
|
252
|
-
readonly containerRole: {
|
|
253
|
-
readonly type: PropType<string>;
|
|
254
|
-
readonly required: false;
|
|
255
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
256
|
-
__epPropKey: true;
|
|
257
|
-
} & {
|
|
258
|
-
readonly default: undefined;
|
|
259
|
-
};
|
|
260
|
-
readonly tabindex: {
|
|
261
|
-
readonly type: PropType<string | number>;
|
|
212
|
+
readonly type: PropType<EpPropMergeType<(new (...args: any[]) => (string | Component) & {}) | (() => string | Component) | ((new (...args: any[]) => (string | Component) & {}) | (() => string | Component))[], unknown, unknown>>;
|
|
262
213
|
readonly required: false;
|
|
263
214
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
264
215
|
__epPropKey: true;
|
|
265
|
-
} & {
|
|
266
|
-
readonly default: 0;
|
|
267
|
-
};
|
|
268
|
-
readonly validateEvent: {
|
|
269
|
-
readonly type: PropType<boolean>;
|
|
270
|
-
readonly required: false;
|
|
271
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
272
|
-
__epPropKey: true;
|
|
273
|
-
} & {
|
|
274
|
-
readonly default: true;
|
|
275
|
-
};
|
|
276
|
-
readonly inputStyle: {
|
|
277
|
-
readonly type: PropType<StyleValue>;
|
|
278
|
-
readonly required: false;
|
|
279
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
280
|
-
__epPropKey: true;
|
|
281
|
-
} & {
|
|
282
|
-
readonly default: () => {};
|
|
283
216
|
};
|
|
217
|
+
readonly containerRole: EpPropFinalized<StringConstructor, unknown, unknown, undefined, boolean>;
|
|
218
|
+
readonly tabindex: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, 0, boolean>;
|
|
219
|
+
readonly validateEvent: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
220
|
+
readonly inputStyle: EpPropFinalized<(new (...args: any[]) => string | CSSProperties | StyleValue[]) | (() => StyleValue) | ((new (...args: any[]) => string | CSSProperties | StyleValue[]) | (() => StyleValue))[], unknown, unknown, () => Mutable<{}>, boolean>;
|
|
284
221
|
readonly autofocus: BooleanConstructor;
|
|
285
|
-
readonly rows:
|
|
286
|
-
readonly type: PropType<number>;
|
|
287
|
-
readonly required: false;
|
|
288
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
289
|
-
__epPropKey: true;
|
|
290
|
-
} & {
|
|
291
|
-
readonly default: 2;
|
|
292
|
-
};
|
|
222
|
+
readonly rows: EpPropFinalized<NumberConstructor, unknown, unknown, 2, boolean>;
|
|
293
223
|
}>> & {
|
|
294
224
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
295
225
|
onChange?: ((value: string) => any) | undefined;
|
|
@@ -332,16 +262,16 @@ declare const InputSelect: SFCWithInstall<{
|
|
|
332
262
|
readonly disabled: boolean;
|
|
333
263
|
readonly id: string;
|
|
334
264
|
readonly type: string;
|
|
335
|
-
readonly modelValue: string | number | null | undefined
|
|
336
|
-
readonly tabindex:
|
|
265
|
+
readonly modelValue: EpPropMergeType<(new (...args: any[]) => string | number) | (() => string | number | null | undefined) | ((new (...args: any[]) => string | number) | (() => string | number | null | undefined))[], unknown, unknown>;
|
|
266
|
+
readonly tabindex: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
337
267
|
readonly readonly: boolean;
|
|
338
268
|
readonly autosize: InputAutoSize;
|
|
339
269
|
readonly autocomplete: string;
|
|
340
270
|
readonly containerRole: string;
|
|
341
|
-
readonly validateEvent:
|
|
271
|
+
readonly validateEvent: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
342
272
|
readonly inputStyle: StyleValue;
|
|
343
273
|
readonly rows: number;
|
|
344
|
-
readonly inputmode: "text" | "search" | "none" | "url" | "email" | "tel" | "numeric" | "decimal" | undefined
|
|
274
|
+
readonly inputmode: EpPropMergeType<(new (...args: any[]) => "search" | "text" | "none" | "url" | "email" | "tel" | "numeric" | "decimal") | (() => "search" | "text" | "none" | "url" | "email" | "tel" | "numeric" | "decimal" | undefined) | ((new (...args: any[]) => "search" | "text" | "none" | "url" | "email" | "tel" | "numeric" | "decimal") | (() => "search" | "text" | "none" | "url" | "email" | "tel" | "numeric" | "decimal" | undefined))[], unknown, unknown>;
|
|
345
275
|
readonly clearable: boolean;
|
|
346
276
|
readonly showPassword: boolean;
|
|
347
277
|
readonly showWordLimit: boolean;
|
|
@@ -370,96 +300,60 @@ declare const InputSelect: SFCWithInstall<{
|
|
|
370
300
|
readonly disabled: boolean;
|
|
371
301
|
readonly id: string;
|
|
372
302
|
readonly type: string;
|
|
373
|
-
readonly modelValue: string | number | null | undefined
|
|
374
|
-
readonly tabindex:
|
|
303
|
+
readonly modelValue: EpPropMergeType<(new (...args: any[]) => string | number) | (() => string | number | null | undefined) | ((new (...args: any[]) => string | number) | (() => string | number | null | undefined))[], unknown, unknown>;
|
|
304
|
+
readonly tabindex: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
375
305
|
readonly readonly: boolean;
|
|
376
306
|
readonly autosize: InputAutoSize;
|
|
377
307
|
readonly autocomplete: string;
|
|
378
308
|
readonly containerRole: string;
|
|
379
|
-
readonly validateEvent:
|
|
309
|
+
readonly validateEvent: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
380
310
|
readonly inputStyle: StyleValue;
|
|
381
311
|
readonly rows: number;
|
|
382
|
-
readonly inputmode: "text" | "search" | "none" | "url" | "email" | "tel" | "numeric" | "decimal" | undefined
|
|
312
|
+
readonly inputmode: EpPropMergeType<(new (...args: any[]) => "search" | "text" | "none" | "url" | "email" | "tel" | "numeric" | "decimal") | (() => "search" | "text" | "none" | "url" | "email" | "tel" | "numeric" | "decimal" | undefined) | ((new (...args: any[]) => "search" | "text" | "none" | "url" | "email" | "tel" | "numeric" | "decimal") | (() => "search" | "text" | "none" | "url" | "email" | "tel" | "numeric" | "decimal" | undefined))[], unknown, unknown>;
|
|
383
313
|
readonly clearable: boolean;
|
|
384
314
|
readonly showPassword: boolean;
|
|
385
315
|
readonly showWordLimit: boolean;
|
|
386
316
|
readonly autofocus: boolean;
|
|
387
317
|
}> & Omit<Readonly< ExtractPropTypes<{
|
|
388
|
-
readonly inputmode:
|
|
389
|
-
readonly type: PropType<"text" | "search" | "none" | "url" | "email" | "tel" | "numeric" | "decimal" | undefined>;
|
|
390
|
-
readonly required: false;
|
|
391
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
392
|
-
__epPropKey: true;
|
|
393
|
-
} & {
|
|
394
|
-
readonly default: undefined;
|
|
395
|
-
};
|
|
318
|
+
readonly inputmode: EpPropFinalized<(new (...args: any[]) => "search" | "text" | "none" | "url" | "email" | "tel" | "numeric" | "decimal") | (() => "search" | "text" | "none" | "url" | "email" | "tel" | "numeric" | "decimal" | undefined) | ((new (...args: any[]) => "search" | "text" | "none" | "url" | "email" | "tel" | "numeric" | "decimal") | (() => "search" | "text" | "none" | "url" | "email" | "tel" | "numeric" | "decimal" | undefined))[], unknown, unknown, undefined, boolean>;
|
|
396
319
|
readonly name: StringConstructor;
|
|
397
320
|
readonly ariaLabel: StringConstructor;
|
|
398
|
-
readonly id:
|
|
399
|
-
readonly type: PropType<string>;
|
|
400
|
-
readonly required: false;
|
|
401
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
402
|
-
__epPropKey: true;
|
|
403
|
-
} & {
|
|
404
|
-
readonly default: undefined;
|
|
405
|
-
};
|
|
321
|
+
readonly id: EpPropFinalized<StringConstructor, unknown, unknown, undefined, boolean>;
|
|
406
322
|
readonly size: {
|
|
407
|
-
readonly type: PropType<"" | "
|
|
323
|
+
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", never>>;
|
|
408
324
|
readonly required: false;
|
|
409
325
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
410
326
|
__epPropKey: true;
|
|
411
327
|
};
|
|
412
328
|
readonly disabled: BooleanConstructor;
|
|
413
|
-
readonly modelValue:
|
|
414
|
-
readonly type: PropType<string | number | null | undefined>;
|
|
415
|
-
readonly required: false;
|
|
416
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
417
|
-
__epPropKey: true;
|
|
418
|
-
} & {
|
|
419
|
-
readonly default: "";
|
|
420
|
-
};
|
|
329
|
+
readonly modelValue: EpPropFinalized<(new (...args: any[]) => string | number) | (() => string | number | null | undefined) | ((new (...args: any[]) => string | number) | (() => string | number | null | undefined))[], unknown, unknown, "", boolean>;
|
|
421
330
|
readonly maxlength: {
|
|
422
|
-
readonly type: PropType<
|
|
331
|
+
readonly type: PropType<EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>>;
|
|
423
332
|
readonly required: false;
|
|
424
333
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
425
334
|
__epPropKey: true;
|
|
426
335
|
};
|
|
427
336
|
readonly minlength: {
|
|
428
|
-
readonly type: PropType<
|
|
429
|
-
readonly required: false;
|
|
430
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
431
|
-
__epPropKey: true;
|
|
432
|
-
};
|
|
433
|
-
readonly type: {
|
|
434
|
-
readonly type: PropType<string>;
|
|
337
|
+
readonly type: PropType<EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>>;
|
|
435
338
|
readonly required: false;
|
|
436
339
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
437
340
|
__epPropKey: true;
|
|
438
|
-
} & {
|
|
439
|
-
readonly default: "text";
|
|
440
341
|
};
|
|
342
|
+
readonly type: EpPropFinalized<StringConstructor, unknown, unknown, "text", boolean>;
|
|
441
343
|
readonly resize: {
|
|
442
|
-
readonly type: PropType<"none" | "
|
|
443
|
-
readonly required: false;
|
|
444
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
445
|
-
__epPropKey: true;
|
|
446
|
-
};
|
|
447
|
-
readonly autosize: {
|
|
448
|
-
readonly type: PropType<InputAutoSize>;
|
|
449
|
-
readonly required: false;
|
|
450
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
451
|
-
__epPropKey: true;
|
|
452
|
-
} & {
|
|
453
|
-
readonly default: false;
|
|
454
|
-
};
|
|
455
|
-
readonly autocomplete: {
|
|
456
|
-
readonly type: PropType<string>;
|
|
344
|
+
readonly type: PropType<EpPropMergeType<StringConstructor, "none" | "both" | "horizontal" | "vertical", unknown>>;
|
|
457
345
|
readonly required: false;
|
|
458
346
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
459
347
|
__epPropKey: true;
|
|
460
|
-
} & {
|
|
461
|
-
readonly default: "off";
|
|
462
348
|
};
|
|
349
|
+
readonly autosize: EpPropFinalized<(new (...args: any[]) => boolean | {
|
|
350
|
+
minRows?: number;
|
|
351
|
+
maxRows?: number;
|
|
352
|
+
}) | (() => InputAutoSize) | ((new (...args: any[]) => boolean | {
|
|
353
|
+
minRows?: number;
|
|
354
|
+
maxRows?: number;
|
|
355
|
+
}) | (() => InputAutoSize))[], unknown, unknown, false, boolean>;
|
|
356
|
+
readonly autocomplete: EpPropFinalized<StringConstructor, unknown, unknown, "off", boolean>;
|
|
463
357
|
readonly formatter: {
|
|
464
358
|
readonly type: PropType<Function>;
|
|
465
359
|
readonly required: false;
|
|
@@ -489,58 +383,23 @@ declare const InputSelect: SFCWithInstall<{
|
|
|
489
383
|
readonly showPassword: BooleanConstructor;
|
|
490
384
|
readonly showWordLimit: BooleanConstructor;
|
|
491
385
|
readonly suffixIcon: {
|
|
492
|
-
readonly type: PropType<string | Component
|
|
386
|
+
readonly type: PropType<EpPropMergeType<(new (...args: any[]) => (string | Component) & {}) | (() => string | Component) | ((new (...args: any[]) => (string | Component) & {}) | (() => string | Component))[], unknown, unknown>>;
|
|
493
387
|
readonly required: false;
|
|
494
388
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
495
389
|
__epPropKey: true;
|
|
496
390
|
};
|
|
497
391
|
readonly prefixIcon: {
|
|
498
|
-
readonly type: PropType<string | Component
|
|
499
|
-
readonly required: false;
|
|
500
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
501
|
-
__epPropKey: true;
|
|
502
|
-
};
|
|
503
|
-
readonly containerRole: {
|
|
504
|
-
readonly type: PropType<string>;
|
|
505
|
-
readonly required: false;
|
|
506
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
507
|
-
__epPropKey: true;
|
|
508
|
-
} & {
|
|
509
|
-
readonly default: undefined;
|
|
510
|
-
};
|
|
511
|
-
readonly tabindex: {
|
|
512
|
-
readonly type: PropType<string | number>;
|
|
392
|
+
readonly type: PropType<EpPropMergeType<(new (...args: any[]) => (string | Component) & {}) | (() => string | Component) | ((new (...args: any[]) => (string | Component) & {}) | (() => string | Component))[], unknown, unknown>>;
|
|
513
393
|
readonly required: false;
|
|
514
394
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
515
395
|
__epPropKey: true;
|
|
516
|
-
} & {
|
|
517
|
-
readonly default: 0;
|
|
518
|
-
};
|
|
519
|
-
readonly validateEvent: {
|
|
520
|
-
readonly type: PropType<boolean>;
|
|
521
|
-
readonly required: false;
|
|
522
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
523
|
-
__epPropKey: true;
|
|
524
|
-
} & {
|
|
525
|
-
readonly default: true;
|
|
526
|
-
};
|
|
527
|
-
readonly inputStyle: {
|
|
528
|
-
readonly type: PropType<StyleValue>;
|
|
529
|
-
readonly required: false;
|
|
530
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
531
|
-
__epPropKey: true;
|
|
532
|
-
} & {
|
|
533
|
-
readonly default: () => {};
|
|
534
396
|
};
|
|
397
|
+
readonly containerRole: EpPropFinalized<StringConstructor, unknown, unknown, undefined, boolean>;
|
|
398
|
+
readonly tabindex: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, 0, boolean>;
|
|
399
|
+
readonly validateEvent: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
400
|
+
readonly inputStyle: EpPropFinalized<(new (...args: any[]) => string | CSSProperties | StyleValue[]) | (() => StyleValue) | ((new (...args: any[]) => string | CSSProperties | StyleValue[]) | (() => StyleValue))[], unknown, unknown, () => Mutable<{}>, boolean>;
|
|
535
401
|
readonly autofocus: BooleanConstructor;
|
|
536
|
-
readonly rows:
|
|
537
|
-
readonly type: PropType<number>;
|
|
538
|
-
readonly required: false;
|
|
539
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
540
|
-
__epPropKey: true;
|
|
541
|
-
} & {
|
|
542
|
-
readonly default: 2;
|
|
543
|
-
};
|
|
402
|
+
readonly rows: EpPropFinalized<NumberConstructor, unknown, unknown, 2, boolean>;
|
|
544
403
|
}>> & {
|
|
545
404
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
546
405
|
onChange?: ((value: string) => any) | undefined;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
/* empty css */
|
|
1
2
|
import { withInstall } from "../../utils/vues/withInstall.js";
|
|
2
|
-
import
|
|
3
|
-
const InputSelect = withInstall(
|
|
3
|
+
import _sfc_main from "./src/index.js";
|
|
4
|
+
const InputSelect = withInstall(_sfc_main, "InputSelect");
|
|
4
5
|
export {
|
|
5
6
|
InputSelect,
|
|
6
7
|
InputSelect as default
|