@jnrs/lingshu-smart 2.2.45 → 2.2.47
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/debug/DataLogPanel.vue.d.ts +16 -1
- package/dist/components/debug/ScriptRunner/ConfigPanel.vue.d.ts +0 -1
- package/dist/components/debug/ScriptRunner/script.d.ts +12 -3
- package/dist/components/editor/ControlBar/CaseTitleEdit.vue.d.ts +84 -305
- package/dist/components/index.js +5039 -4711
- package/dist/components/preview/index.vue.d.ts +1321 -1555
- package/dist/controller/AppController.d.ts +10 -1
- package/dist/{guards-aLOXCeCF.js → guards-Bi8oNtaY.js} +2 -2
- package/dist/index.js +1 -1
- package/dist/lingshu-smart/cases.json +4625 -3182
- package/dist/lingshu-smart/wsProxyConfig.json +159 -138
- package/dist/playground/ViewPageDemo.vue.d.ts +2662 -3130
- package/dist/stores/index.js +1 -1
- package/dist/stores/useAppStore.d.ts +4016 -4718
- package/dist/stores/useDataStore.d.ts +4527 -5220
- package/dist/stores/useDebugStore.d.ts +4 -1
- package/dist/types/components/operating.types.d.ts +8 -8
- package/dist/types/guards.d.ts +3 -1
- package/dist/types/models/config.types.d.ts +18 -4
- package/dist/types/models/operating.types.d.ts +23 -33
- package/dist/ui/abstract/ModelAbs.d.ts +5 -0
- package/dist/ui/components/StationSlotGroup.d.ts +2 -2
- package/dist/ui/models/DoubleJointRobot.d.ts +2 -0
- package/dist/ui/models/MachineTool.d.ts +0 -1
- package/dist/ui/models/Pallet.d.ts +12 -7
- package/dist/ui/models/Rail.d.ts +9 -2
- package/dist/ui/models/ResourceOperationWindow.d.ts +2 -0
- package/dist/ui/models/Rgv.d.ts +2 -4
- package/dist/ui/models/ShuttleStation.d.ts +0 -2
- package/dist/{useAppStore-CVyLAMtL.js → useAppStore-CevWqcmT.js} +1588 -1566
- package/package.json +2 -2
|
@@ -25,7 +25,16 @@ type __VLS_Props = {
|
|
|
25
25
|
/** 是否展示方向/类型列(WsProxy 消息日志专用) */
|
|
26
26
|
showDirectionType?: boolean;
|
|
27
27
|
};
|
|
28
|
-
declare
|
|
28
|
+
declare function __VLS_template(): {
|
|
29
|
+
attrs: Partial<{}>;
|
|
30
|
+
slots: {
|
|
31
|
+
'filter-extra'?(_: {}): any;
|
|
32
|
+
};
|
|
33
|
+
refs: {};
|
|
34
|
+
rootEl: HTMLDivElement;
|
|
35
|
+
};
|
|
36
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
37
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
29
38
|
copy: () => any;
|
|
30
39
|
clear: () => any;
|
|
31
40
|
"update:maxLogCount": (value: number) => any;
|
|
@@ -41,4 +50,10 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
41
50
|
textFn: (row: any) => string;
|
|
42
51
|
showDirectionType: boolean;
|
|
43
52
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
53
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
44
54
|
export default _default;
|
|
55
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
56
|
+
new (): {
|
|
57
|
+
$slots: S;
|
|
58
|
+
};
|
|
59
|
+
};
|
|
@@ -11,7 +11,6 @@ type __VLS_Props = {
|
|
|
11
11
|
selectedFieldConfigs: ScriptFieldConfig[];
|
|
12
12
|
deviceOptions: DeviceOption[];
|
|
13
13
|
resourceDeviceOptions: DeviceOption[];
|
|
14
|
-
statusDisplayColor: string;
|
|
15
14
|
selectedDeviceValue: DeviceOption | null;
|
|
16
15
|
addDeviceValue: DeviceOption | null;
|
|
17
16
|
removeDeviceValue: DeviceOption | null;
|
|
@@ -7,10 +7,11 @@ export interface ScriptFieldConfig {
|
|
|
7
7
|
key: string;
|
|
8
8
|
label: string;
|
|
9
9
|
/**
|
|
10
|
-
* 字段类型。json:对象/数组类型业务字段(如 stationColor、layerStationStatus、
|
|
11
|
-
* 以 JSON 文本字符串形式编辑与存储,生成消息/预览时经 parseJsonFieldValues
|
|
10
|
+
* 字段类型。json:对象/数组类型业务字段(如 stationColor、layerStationStatus、laserSites),
|
|
11
|
+
* 以 JSON 文本字符串形式编辑与存储,生成消息/预览时经 parseJsonFieldValues 解析为对象/数组。
|
|
12
|
+
* device:设备下拉选择(持续运行步骤的「驱动设备」字段)
|
|
12
13
|
*/
|
|
13
|
-
type: 'input' | 'select' | 'switch' | 'number' | 'color' | 'json';
|
|
14
|
+
type: 'input' | 'select' | 'switch' | 'number' | 'color' | 'json' | 'device';
|
|
14
15
|
options?: {
|
|
15
16
|
label: string;
|
|
16
17
|
value: string | number;
|
|
@@ -28,6 +29,12 @@ export interface ScriptStep {
|
|
|
28
29
|
delay: number;
|
|
29
30
|
enabled: boolean;
|
|
30
31
|
params: Record<string, any>;
|
|
32
|
+
/**
|
|
33
|
+
* 用户显式配置过的字段 key 列表:
|
|
34
|
+
* 生成消息时仅发送这些字段,避免设备字段默认值(如 x/j1=0)把模型瞬间移回原点,
|
|
35
|
+
* 与「持续运行」等高频位置驱动冲突造成抖动。undefined 表示兼容旧数据(全部发送)
|
|
36
|
+
*/
|
|
37
|
+
configuredKeys?: string[];
|
|
31
38
|
/** 返回码(0 操作成功 / 400 客户端参数错误 / 500 服务端处理异常) */
|
|
32
39
|
code: number;
|
|
33
40
|
/** 返回消息说明(可选 code 自动带入后可修改) */
|
|
@@ -58,6 +65,8 @@ export declare const CUSTOM_DEVICE_TYPE = "__custom__";
|
|
|
58
65
|
export declare const RESET_ALL_TYPE = "__resetAll__";
|
|
59
66
|
/** 「全部复位」业务数据的 type 预设值(与代理器全局操作类 ResetAll 规则的源类型值一致) */
|
|
60
67
|
export declare const RESET_ALL_MSG_TYPE = "resetAll";
|
|
68
|
+
/** 设备/资源下拉「持续运行」选项的标识值(选中后按设定频率持续发送设备高频消息,模拟生产环境持续运行) */
|
|
69
|
+
export declare const CONTINUOUS_TYPE = "__continuous__";
|
|
61
70
|
/** 资源类型选项 */
|
|
62
71
|
export declare const resourceTypeOptions: {
|
|
63
72
|
label: string;
|
|
@@ -2,64 +2,53 @@ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import
|
|
|
2
2
|
caseInputRef: ({
|
|
3
3
|
$: import('vue').ComponentInternalInstance;
|
|
4
4
|
$data: {};
|
|
5
|
-
$props:
|
|
6
|
-
disabled: boolean;
|
|
7
|
-
tabindex: string | number;
|
|
8
|
-
type: import('element-plus').InputType;
|
|
9
|
-
modelValue: string | number | null;
|
|
10
|
-
modelModifiers: import('element-plus').InputModelModifiers;
|
|
11
|
-
autocomplete: string;
|
|
12
|
-
clearIcon: import('element-plus/es/utils/index.mjs').IconPropType;
|
|
13
|
-
wordLimitPosition: "inside" | "outside";
|
|
14
|
-
validateEvent: boolean;
|
|
15
|
-
inputStyle: string | false | import('vue').CSSProperties | import('vue').StyleValue[] | null;
|
|
16
|
-
rows: number;
|
|
17
|
-
}> & Omit<{
|
|
18
|
-
readonly type: import('element-plus').InputType;
|
|
19
|
-
readonly modelValue: string | number | null;
|
|
20
|
-
readonly autocomplete: string;
|
|
21
|
-
readonly validateEvent: boolean;
|
|
22
|
-
readonly tabindex: string | number;
|
|
23
|
-
readonly inputStyle: string | false | import('vue').CSSProperties | import('vue').StyleValue[] | null;
|
|
24
|
-
readonly modelModifiers: import('element-plus').InputModelModifiers;
|
|
25
|
-
readonly wordLimitPosition: "inside" | "outside";
|
|
26
|
-
readonly rows: number;
|
|
27
|
-
readonly name?: string | undefined;
|
|
28
|
-
readonly disabled?: boolean | undefined;
|
|
5
|
+
$props: {
|
|
29
6
|
readonly id?: string | undefined;
|
|
30
|
-
readonly form?: string | undefined;
|
|
31
|
-
readonly placeholder?: string | undefined;
|
|
32
7
|
readonly size?: import('element-plus').ComponentSize | undefined;
|
|
33
|
-
readonly
|
|
34
|
-
readonly
|
|
35
|
-
readonly
|
|
36
|
-
readonly clearIcon?: import('element-plus/es/utils/index.mjs').IconPropType | undefined;
|
|
37
|
-
readonly suffixIcon?: import('element-plus/es/utils/index.mjs').IconPropType | undefined;
|
|
38
|
-
readonly autofocus?: boolean | undefined;
|
|
39
|
-
readonly readonly?: boolean | undefined;
|
|
40
|
-
readonly inputmode?: "none" | "text" | "search" | "url" | "email" | "tel" | "numeric" | "decimal" | undefined;
|
|
8
|
+
readonly disabled?: boolean | undefined;
|
|
9
|
+
readonly modelValue?: string | number | null | undefined | undefined;
|
|
10
|
+
readonly modelModifiers?: import('element-plus').InputModelModifiers | undefined;
|
|
41
11
|
readonly maxlength?: string | number | undefined;
|
|
42
12
|
readonly minlength?: string | number | undefined;
|
|
13
|
+
readonly type?: import('element-plus').InputType | undefined;
|
|
14
|
+
readonly resize?: "none" | "both" | "horizontal" | "vertical" | undefined;
|
|
43
15
|
readonly autosize?: import('element-plus').InputAutoSize | undefined;
|
|
16
|
+
readonly autocomplete?: string | undefined;
|
|
44
17
|
readonly formatter?: ((value: string) => string) | undefined;
|
|
45
18
|
readonly parser?: ((value: string) => string) | undefined;
|
|
19
|
+
readonly placeholder?: string | undefined;
|
|
20
|
+
readonly form?: string | undefined;
|
|
21
|
+
readonly readonly?: boolean | undefined;
|
|
22
|
+
readonly clearable?: boolean | undefined;
|
|
23
|
+
readonly clearIcon?: import('element-plus/es/utils/vue/icon.mjs').IconPropType | undefined;
|
|
46
24
|
readonly showPassword?: boolean | undefined;
|
|
47
25
|
readonly showWordLimit?: boolean | undefined;
|
|
48
|
-
readonly
|
|
26
|
+
readonly wordLimitPosition?: "inside" | "outside" | undefined;
|
|
27
|
+
readonly suffixIcon?: import('element-plus/es/utils/vue/icon.mjs').IconPropType | undefined;
|
|
28
|
+
readonly prefixIcon?: import('element-plus/es/utils/vue/icon.mjs').IconPropType | undefined;
|
|
49
29
|
readonly containerRole?: string | undefined;
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
30
|
+
readonly tabindex?: string | number | undefined;
|
|
31
|
+
readonly validateEvent?: boolean | undefined;
|
|
32
|
+
readonly inputStyle?: import('vue').StyleValue;
|
|
33
|
+
readonly autofocus?: boolean | undefined;
|
|
34
|
+
readonly rows?: number | undefined;
|
|
35
|
+
readonly ariaLabel?: string | undefined;
|
|
36
|
+
readonly inputmode?: "none" | "text" | "search" | "url" | "email" | "tel" | "numeric" | "decimal" | undefined;
|
|
37
|
+
readonly name?: string | undefined;
|
|
38
|
+
readonly countGraphemes?: ((value: string) => number) | undefined;
|
|
39
|
+
readonly onClear?: ((evt: MouseEvent | undefined) => any) | undefined | undefined;
|
|
40
|
+
readonly "onUpdate:modelValue"?: ((value: string) => any) | undefined | undefined;
|
|
41
|
+
readonly onChange?: ((value: string, evt?: Event | undefined) => any) | undefined | undefined;
|
|
42
|
+
readonly onInput?: ((value: string) => any) | undefined | undefined;
|
|
43
|
+
readonly onFocus?: ((evt: FocusEvent) => any) | undefined | undefined;
|
|
44
|
+
readonly onBlur?: ((evt: FocusEvent) => any) | undefined | undefined;
|
|
45
|
+
readonly onMouseleave?: ((evt: MouseEvent) => any) | undefined | undefined;
|
|
46
|
+
readonly onMouseenter?: ((evt: MouseEvent) => any) | undefined | undefined;
|
|
47
|
+
readonly onKeydown?: ((evt: Event | KeyboardEvent) => any) | undefined | undefined;
|
|
48
|
+
readonly onCompositionstart?: ((evt: CompositionEvent) => any) | undefined | undefined;
|
|
49
|
+
readonly onCompositionupdate?: ((evt: CompositionEvent) => any) | undefined | undefined;
|
|
50
|
+
readonly onCompositionend?: ((evt: CompositionEvent) => any) | undefined | undefined;
|
|
51
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
63
52
|
$attrs: {
|
|
64
53
|
[x: string]: unknown;
|
|
65
54
|
};
|
|
@@ -72,163 +61,56 @@ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import
|
|
|
72
61
|
$root: import('vue').ComponentPublicInstance | null;
|
|
73
62
|
$parent: import('vue').ComponentPublicInstance | null;
|
|
74
63
|
$host: Element | null;
|
|
75
|
-
$emit: ((event: "blur", evt: FocusEvent) => void) & ((event: "input", value: string) => void) & ((event: "focus", evt: FocusEvent) => void) & ((event: "clear") => void) & ((event: "change", value: string, evt?: Event | undefined) => 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) & ((event: "update:modelValue", value: string) => void);
|
|
64
|
+
$emit: ((event: "blur", evt: FocusEvent) => void) & ((event: "input", value: string) => void) & ((event: "focus", evt: FocusEvent) => void) & ((event: "clear", evt: MouseEvent | undefined) => void) & ((event: "change", value: string, evt?: Event | undefined) => 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) & ((event: "update:modelValue", value: string) => void);
|
|
76
65
|
$el: any;
|
|
77
|
-
$options: import('vue').ComponentOptionsBase<Readonly<import('
|
|
78
|
-
|
|
79
|
-
type: import('vue').PropType<string>;
|
|
80
|
-
};
|
|
81
|
-
disabled: {
|
|
82
|
-
type: import('vue').PropType<boolean>;
|
|
83
|
-
default: undefined;
|
|
84
|
-
};
|
|
85
|
-
id: {
|
|
86
|
-
type: import('vue').PropType<string>;
|
|
87
|
-
};
|
|
88
|
-
type: {
|
|
89
|
-
type: import('vue').PropType<import('element-plus').InputType>;
|
|
90
|
-
default: import('element-plus').InputType;
|
|
91
|
-
};
|
|
92
|
-
form: {
|
|
93
|
-
type: import('vue').PropType<string>;
|
|
94
|
-
};
|
|
95
|
-
placeholder: {
|
|
96
|
-
type: import('vue').PropType<string>;
|
|
97
|
-
};
|
|
98
|
-
size: {
|
|
99
|
-
type: import('vue').PropType<"" | "default" | "small" | "large">;
|
|
100
|
-
};
|
|
101
|
-
resize: {
|
|
102
|
-
type: import('vue').PropType<"horizontal" | "vertical" | "none" | "both">;
|
|
103
|
-
};
|
|
104
|
-
modelValue: {
|
|
105
|
-
type: import('vue').PropType<string | number | null>;
|
|
106
|
-
default: "";
|
|
107
|
-
};
|
|
108
|
-
ariaLabel: {
|
|
109
|
-
type: import('vue').PropType<string>;
|
|
110
|
-
};
|
|
111
|
-
autocomplete: {
|
|
112
|
-
type: import('vue').PropType<string>;
|
|
113
|
-
default: "off";
|
|
114
|
-
};
|
|
115
|
-
clearable: {
|
|
116
|
-
type: import('vue').PropType<boolean>;
|
|
117
|
-
};
|
|
118
|
-
clearIcon: {
|
|
119
|
-
type: import('vue').PropType<import('element-plus/es/utils/index.mjs').IconPropType>;
|
|
120
|
-
default: any;
|
|
121
|
-
};
|
|
122
|
-
suffixIcon: {
|
|
123
|
-
type: import('vue').PropType<import('element-plus/es/utils/index.mjs').IconPropType>;
|
|
124
|
-
};
|
|
125
|
-
validateEvent: {
|
|
126
|
-
type: import('vue').PropType<boolean>;
|
|
127
|
-
default: true;
|
|
128
|
-
};
|
|
129
|
-
tabindex: {
|
|
130
|
-
type: import('vue').PropType<string | number>;
|
|
131
|
-
default: 0;
|
|
132
|
-
};
|
|
133
|
-
inputStyle: {
|
|
134
|
-
type: import('vue').PropType<string | false | import('vue').CSSProperties | import('vue').StyleValue[] | null>;
|
|
135
|
-
default: () => {};
|
|
136
|
-
};
|
|
137
|
-
autofocus: {
|
|
138
|
-
type: import('vue').PropType<boolean>;
|
|
139
|
-
};
|
|
140
|
-
readonly: {
|
|
141
|
-
type: import('vue').PropType<boolean>;
|
|
142
|
-
};
|
|
143
|
-
inputmode: {
|
|
144
|
-
type: import('vue').PropType<"none" | "text" | "search" | "url" | "email" | "tel" | "numeric" | "decimal">;
|
|
145
|
-
};
|
|
146
|
-
modelModifiers: {
|
|
147
|
-
type: import('vue').PropType<import('element-plus').InputModelModifiers>;
|
|
148
|
-
default: () => {};
|
|
149
|
-
};
|
|
150
|
-
maxlength: {
|
|
151
|
-
type: import('vue').PropType<string | number>;
|
|
152
|
-
};
|
|
153
|
-
minlength: {
|
|
154
|
-
type: import('vue').PropType<string | number>;
|
|
155
|
-
};
|
|
156
|
-
autosize: {
|
|
157
|
-
type: import('vue').PropType<import('element-plus').InputAutoSize>;
|
|
158
|
-
};
|
|
159
|
-
formatter: {
|
|
160
|
-
type: import('vue').PropType<(value: string) => string>;
|
|
161
|
-
};
|
|
162
|
-
parser: {
|
|
163
|
-
type: import('vue').PropType<(value: string) => string>;
|
|
164
|
-
};
|
|
165
|
-
showPassword: {
|
|
166
|
-
type: import('vue').PropType<boolean>;
|
|
167
|
-
};
|
|
168
|
-
showWordLimit: {
|
|
169
|
-
type: import('vue').PropType<boolean>;
|
|
170
|
-
};
|
|
171
|
-
wordLimitPosition: {
|
|
172
|
-
type: import('vue').PropType<"inside" | "outside">;
|
|
173
|
-
default: "inside";
|
|
174
|
-
};
|
|
175
|
-
prefixIcon: {
|
|
176
|
-
type: import('vue').PropType<import('element-plus/es/utils/index.mjs').IconPropType>;
|
|
177
|
-
};
|
|
178
|
-
containerRole: {
|
|
179
|
-
type: import('vue').PropType<string>;
|
|
180
|
-
};
|
|
181
|
-
rows: {
|
|
182
|
-
type: import('vue').PropType<number>;
|
|
183
|
-
default: 2;
|
|
184
|
-
};
|
|
185
|
-
}>> & {
|
|
66
|
+
$options: import('vue').ComponentOptionsBase<Readonly<import('element-plus').InputProps> & Readonly<{
|
|
67
|
+
onClear?: ((evt: MouseEvent | undefined) => any) | undefined;
|
|
186
68
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
69
|
+
onChange?: ((value: string, evt?: Event | undefined) => any) | undefined;
|
|
187
70
|
onInput?: ((value: string) => any) | undefined;
|
|
188
71
|
onFocus?: ((evt: FocusEvent) => any) | undefined;
|
|
189
|
-
onChange?: ((value: string, evt?: Event | undefined) => any) | undefined;
|
|
190
72
|
onBlur?: ((evt: FocusEvent) => any) | undefined;
|
|
191
|
-
|
|
73
|
+
onMouseleave?: ((evt: MouseEvent) => any) | undefined;
|
|
74
|
+
onMouseenter?: ((evt: MouseEvent) => any) | undefined;
|
|
75
|
+
onKeydown?: ((evt: Event | KeyboardEvent) => any) | undefined;
|
|
192
76
|
onCompositionstart?: ((evt: CompositionEvent) => any) | undefined;
|
|
193
77
|
onCompositionupdate?: ((evt: CompositionEvent) => any) | undefined;
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
}, {
|
|
199
|
-
input: import('vue').ShallowRef<HTMLInputElement | undefined>;
|
|
200
|
-
textarea: import('vue').ShallowRef<HTMLTextAreaElement | undefined>;
|
|
78
|
+
onCompositionend?: ((evt: CompositionEvent) => any) | undefined;
|
|
79
|
+
}>, {
|
|
80
|
+
input: import('vue').ShallowRef<HTMLInputElement | undefined, HTMLInputElement | undefined>;
|
|
81
|
+
textarea: import('vue').ShallowRef<HTMLTextAreaElement | undefined, HTMLTextAreaElement | undefined>;
|
|
201
82
|
ref: import('vue').ComputedRef<HTMLInputElement | HTMLTextAreaElement | undefined>;
|
|
202
83
|
textareaStyle: import('vue').ComputedRef<import('vue').StyleValue>;
|
|
203
|
-
autosize: import('vue').Ref<import('element-plus').InputAutoSize | undefined>;
|
|
204
|
-
isComposing: import('vue').Ref<boolean>;
|
|
84
|
+
autosize: import('vue').Ref<import('element-plus').InputAutoSize | undefined, import('element-plus').InputAutoSize | undefined>;
|
|
85
|
+
isComposing: import('vue').Ref<boolean, boolean>;
|
|
86
|
+
passwordVisible: import('vue').Ref<boolean, boolean>;
|
|
205
87
|
focus: () => void | undefined;
|
|
206
88
|
blur: () => void | undefined;
|
|
207
89
|
select: () => void;
|
|
208
|
-
clear: () => void;
|
|
90
|
+
clear: (evt?: MouseEvent) => void;
|
|
209
91
|
resizeTextarea: () => void;
|
|
210
|
-
},
|
|
211
|
-
|
|
212
|
-
focus: (evt: FocusEvent) => void;
|
|
92
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
93
|
+
clear: (evt: MouseEvent | undefined) => void;
|
|
213
94
|
"update:modelValue": (value: string) => void;
|
|
214
95
|
change: (value: string, evt?: Event | undefined) => void;
|
|
215
|
-
|
|
96
|
+
input: (value: string) => void;
|
|
97
|
+
focus: (evt: FocusEvent) => void;
|
|
216
98
|
blur: (evt: FocusEvent) => void;
|
|
217
|
-
|
|
99
|
+
mouseleave: (evt: MouseEvent) => void;
|
|
100
|
+
mouseenter: (evt: MouseEvent) => void;
|
|
101
|
+
keydown: (evt: Event | KeyboardEvent) => void;
|
|
218
102
|
compositionstart: (evt: CompositionEvent) => void;
|
|
219
103
|
compositionupdate: (evt: CompositionEvent) => void;
|
|
220
|
-
|
|
221
|
-
mouseenter: (evt: MouseEvent) => void;
|
|
222
|
-
mouseleave: (evt: MouseEvent) => void;
|
|
104
|
+
compositionend: (evt: CompositionEvent) => void;
|
|
223
105
|
}, string, {
|
|
224
|
-
disabled: boolean;
|
|
225
|
-
tabindex: string | number;
|
|
226
106
|
type: import('element-plus').InputType;
|
|
227
107
|
modelValue: string | number | null;
|
|
108
|
+
disabled: boolean;
|
|
228
109
|
modelModifiers: import('element-plus').InputModelModifiers;
|
|
229
110
|
autocomplete: string;
|
|
230
|
-
clearIcon: import('element-plus/es/utils/
|
|
111
|
+
clearIcon: import('element-plus/es/utils/vue/icon.mjs').IconPropType;
|
|
231
112
|
wordLimitPosition: "inside" | "outside";
|
|
113
|
+
tabindex: string | number;
|
|
232
114
|
validateEvent: boolean;
|
|
233
115
|
inputStyle: string | false | import('vue').CSSProperties | import('vue').StyleValue[] | null;
|
|
234
116
|
rows: number;
|
|
@@ -253,149 +135,42 @@ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import
|
|
|
253
135
|
$nextTick: typeof import('vue').nextTick;
|
|
254
136
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
255
137
|
} & Readonly<{
|
|
256
|
-
disabled: boolean;
|
|
257
|
-
tabindex: string | number;
|
|
258
138
|
type: import('element-plus').InputType;
|
|
259
139
|
modelValue: string | number | null;
|
|
140
|
+
disabled: boolean;
|
|
260
141
|
modelModifiers: import('element-plus').InputModelModifiers;
|
|
261
142
|
autocomplete: string;
|
|
262
|
-
clearIcon: import('element-plus/es/utils/
|
|
143
|
+
clearIcon: import('element-plus/es/utils/vue/icon.mjs').IconPropType;
|
|
263
144
|
wordLimitPosition: "inside" | "outside";
|
|
145
|
+
tabindex: string | number;
|
|
264
146
|
validateEvent: boolean;
|
|
265
147
|
inputStyle: string | false | import('vue').CSSProperties | import('vue').StyleValue[] | null;
|
|
266
148
|
rows: number;
|
|
267
|
-
}> & Omit<Readonly<import('
|
|
268
|
-
|
|
269
|
-
type: import('vue').PropType<string>;
|
|
270
|
-
};
|
|
271
|
-
disabled: {
|
|
272
|
-
type: import('vue').PropType<boolean>;
|
|
273
|
-
default: undefined;
|
|
274
|
-
};
|
|
275
|
-
id: {
|
|
276
|
-
type: import('vue').PropType<string>;
|
|
277
|
-
};
|
|
278
|
-
type: {
|
|
279
|
-
type: import('vue').PropType<import('element-plus').InputType>;
|
|
280
|
-
default: import('element-plus').InputType;
|
|
281
|
-
};
|
|
282
|
-
form: {
|
|
283
|
-
type: import('vue').PropType<string>;
|
|
284
|
-
};
|
|
285
|
-
placeholder: {
|
|
286
|
-
type: import('vue').PropType<string>;
|
|
287
|
-
};
|
|
288
|
-
size: {
|
|
289
|
-
type: import('vue').PropType<"" | "default" | "small" | "large">;
|
|
290
|
-
};
|
|
291
|
-
resize: {
|
|
292
|
-
type: import('vue').PropType<"horizontal" | "vertical" | "none" | "both">;
|
|
293
|
-
};
|
|
294
|
-
modelValue: {
|
|
295
|
-
type: import('vue').PropType<string | number | null>;
|
|
296
|
-
default: "";
|
|
297
|
-
};
|
|
298
|
-
ariaLabel: {
|
|
299
|
-
type: import('vue').PropType<string>;
|
|
300
|
-
};
|
|
301
|
-
autocomplete: {
|
|
302
|
-
type: import('vue').PropType<string>;
|
|
303
|
-
default: "off";
|
|
304
|
-
};
|
|
305
|
-
clearable: {
|
|
306
|
-
type: import('vue').PropType<boolean>;
|
|
307
|
-
};
|
|
308
|
-
clearIcon: {
|
|
309
|
-
type: import('vue').PropType<import('element-plus/es/utils/index.mjs').IconPropType>;
|
|
310
|
-
default: any;
|
|
311
|
-
};
|
|
312
|
-
suffixIcon: {
|
|
313
|
-
type: import('vue').PropType<import('element-plus/es/utils/index.mjs').IconPropType>;
|
|
314
|
-
};
|
|
315
|
-
validateEvent: {
|
|
316
|
-
type: import('vue').PropType<boolean>;
|
|
317
|
-
default: true;
|
|
318
|
-
};
|
|
319
|
-
tabindex: {
|
|
320
|
-
type: import('vue').PropType<string | number>;
|
|
321
|
-
default: 0;
|
|
322
|
-
};
|
|
323
|
-
inputStyle: {
|
|
324
|
-
type: import('vue').PropType<string | false | import('vue').CSSProperties | import('vue').StyleValue[] | null>;
|
|
325
|
-
default: () => {};
|
|
326
|
-
};
|
|
327
|
-
autofocus: {
|
|
328
|
-
type: import('vue').PropType<boolean>;
|
|
329
|
-
};
|
|
330
|
-
readonly: {
|
|
331
|
-
type: import('vue').PropType<boolean>;
|
|
332
|
-
};
|
|
333
|
-
inputmode: {
|
|
334
|
-
type: import('vue').PropType<"none" | "text" | "search" | "url" | "email" | "tel" | "numeric" | "decimal">;
|
|
335
|
-
};
|
|
336
|
-
modelModifiers: {
|
|
337
|
-
type: import('vue').PropType<import('element-plus').InputModelModifiers>;
|
|
338
|
-
default: () => {};
|
|
339
|
-
};
|
|
340
|
-
maxlength: {
|
|
341
|
-
type: import('vue').PropType<string | number>;
|
|
342
|
-
};
|
|
343
|
-
minlength: {
|
|
344
|
-
type: import('vue').PropType<string | number>;
|
|
345
|
-
};
|
|
346
|
-
autosize: {
|
|
347
|
-
type: import('vue').PropType<import('element-plus').InputAutoSize>;
|
|
348
|
-
};
|
|
349
|
-
formatter: {
|
|
350
|
-
type: import('vue').PropType<(value: string) => string>;
|
|
351
|
-
};
|
|
352
|
-
parser: {
|
|
353
|
-
type: import('vue').PropType<(value: string) => string>;
|
|
354
|
-
};
|
|
355
|
-
showPassword: {
|
|
356
|
-
type: import('vue').PropType<boolean>;
|
|
357
|
-
};
|
|
358
|
-
showWordLimit: {
|
|
359
|
-
type: import('vue').PropType<boolean>;
|
|
360
|
-
};
|
|
361
|
-
wordLimitPosition: {
|
|
362
|
-
type: import('vue').PropType<"inside" | "outside">;
|
|
363
|
-
default: "inside";
|
|
364
|
-
};
|
|
365
|
-
prefixIcon: {
|
|
366
|
-
type: import('vue').PropType<import('element-plus/es/utils/index.mjs').IconPropType>;
|
|
367
|
-
};
|
|
368
|
-
containerRole: {
|
|
369
|
-
type: import('vue').PropType<string>;
|
|
370
|
-
};
|
|
371
|
-
rows: {
|
|
372
|
-
type: import('vue').PropType<number>;
|
|
373
|
-
default: 2;
|
|
374
|
-
};
|
|
375
|
-
}>> & {
|
|
149
|
+
}> & Omit<Readonly<import('element-plus').InputProps> & Readonly<{
|
|
150
|
+
onClear?: ((evt: MouseEvent | undefined) => any) | undefined;
|
|
376
151
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
152
|
+
onChange?: ((value: string, evt?: Event | undefined) => any) | undefined;
|
|
377
153
|
onInput?: ((value: string) => any) | undefined;
|
|
378
154
|
onFocus?: ((evt: FocusEvent) => any) | undefined;
|
|
379
|
-
onChange?: ((value: string, evt?: Event | undefined) => any) | undefined;
|
|
380
155
|
onBlur?: ((evt: FocusEvent) => any) | undefined;
|
|
381
|
-
|
|
156
|
+
onMouseleave?: ((evt: MouseEvent) => any) | undefined;
|
|
157
|
+
onMouseenter?: ((evt: MouseEvent) => any) | undefined;
|
|
158
|
+
onKeydown?: ((evt: Event | KeyboardEvent) => any) | undefined;
|
|
382
159
|
onCompositionstart?: ((evt: CompositionEvent) => any) | undefined;
|
|
383
160
|
onCompositionupdate?: ((evt: CompositionEvent) => any) | undefined;
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
}, "disabled" | "blur" | "type" | "input" | "select" | "textarea" | "focus" | "clear" | "modelValue" | "autocomplete" | "clearIcon" | "validateEvent" | "tabindex" | "inputStyle" | "ref" | "modelModifiers" | "autosize" | "wordLimitPosition" | "rows" | "textareaStyle" | "isComposing" | "resizeTextarea"> & import('vue').ShallowUnwrapRef<{
|
|
389
|
-
input: import('vue').ShallowRef<HTMLInputElement | undefined>;
|
|
390
|
-
textarea: import('vue').ShallowRef<HTMLTextAreaElement | undefined>;
|
|
161
|
+
onCompositionend?: ((evt: CompositionEvent) => any) | undefined;
|
|
162
|
+
}>, "disabled" | "blur" | "type" | "input" | "select" | "textarea" | "focus" | "clear" | "modelValue" | "autocomplete" | "clearIcon" | "validateEvent" | "tabindex" | "inputStyle" | "ref" | "modelModifiers" | "autosize" | "wordLimitPosition" | "rows" | "textareaStyle" | "isComposing" | "passwordVisible" | "resizeTextarea"> & import('vue').ShallowUnwrapRef<{
|
|
163
|
+
input: import('vue').ShallowRef<HTMLInputElement | undefined, HTMLInputElement | undefined>;
|
|
164
|
+
textarea: import('vue').ShallowRef<HTMLTextAreaElement | undefined, HTMLTextAreaElement | undefined>;
|
|
391
165
|
ref: import('vue').ComputedRef<HTMLInputElement | HTMLTextAreaElement | undefined>;
|
|
392
166
|
textareaStyle: import('vue').ComputedRef<import('vue').StyleValue>;
|
|
393
|
-
autosize: import('vue').Ref<import('element-plus').InputAutoSize | undefined>;
|
|
394
|
-
isComposing: import('vue').Ref<boolean>;
|
|
167
|
+
autosize: import('vue').Ref<import('element-plus').InputAutoSize | undefined, import('element-plus').InputAutoSize | undefined>;
|
|
168
|
+
isComposing: import('vue').Ref<boolean, boolean>;
|
|
169
|
+
passwordVisible: import('vue').Ref<boolean, boolean>;
|
|
395
170
|
focus: () => void | undefined;
|
|
396
171
|
blur: () => void | undefined;
|
|
397
172
|
select: () => void;
|
|
398
|
-
clear: () => void;
|
|
173
|
+
clear: (evt?: MouseEvent) => void;
|
|
399
174
|
resizeTextarea: () => void;
|
|
400
175
|
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
401
176
|
$slots: {
|
|
@@ -404,6 +179,10 @@ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import
|
|
|
404
179
|
prefix?: (props: {}) => any;
|
|
405
180
|
} & {
|
|
406
181
|
suffix?: (props: {}) => any;
|
|
182
|
+
} & {
|
|
183
|
+
'password-icon'?: (props: {
|
|
184
|
+
visible: boolean;
|
|
185
|
+
}) => any;
|
|
407
186
|
} & {
|
|
408
187
|
append?: (props: {}) => any;
|
|
409
188
|
};
|