@opentinyvue/vue-input 3.21.0 → 3.22.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/index.js +2 -6
- package/lib/mobile-first.js +13 -9
- package/lib/pc.js +5 -5
- package/package.json +12 -13
- package/src/index.d.ts +3 -3
- package/src/mobile-first.vue.d.ts +16 -16
- package/src/pc.vue.d.ts +13 -13
- package/lib/mobile.js +0 -338
- package/src/mobile.vue.d.ts +0 -125
package/lib/index.js
CHANGED
|
@@ -7,9 +7,8 @@ function _extends() {
|
|
|
7
7
|
return n;
|
|
8
8
|
}, _extends.apply(null, arguments);
|
|
9
9
|
}
|
|
10
|
-
import { defineComponent, $
|
|
10
|
+
import { defineComponent, $props, $setup, $prefix } from "@opentinyvue/vue-common";
|
|
11
11
|
import PcTemplate from "./pc.js";
|
|
12
|
-
import MobileTemplate from "./mobile.js";
|
|
13
12
|
import MobileFirstTemplate from "./mobile-first.js";
|
|
14
13
|
var template = function template2(mode) {
|
|
15
14
|
var _process$env;
|
|
@@ -17,9 +16,6 @@ var template = function template2(mode) {
|
|
|
17
16
|
if ("pc" === (tinyMode || mode)) {
|
|
18
17
|
return PcTemplate;
|
|
19
18
|
}
|
|
20
|
-
if ("mobile" === (tinyMode || mode)) {
|
|
21
|
-
return MobileTemplate;
|
|
22
|
-
}
|
|
23
19
|
if ("mobile-first" === (tinyMode || mode)) {
|
|
24
20
|
return MobileFirstTemplate;
|
|
25
21
|
}
|
|
@@ -198,7 +194,7 @@ var Input = defineComponent({
|
|
|
198
194
|
});
|
|
199
195
|
}
|
|
200
196
|
});
|
|
201
|
-
var version = "3.
|
|
197
|
+
var version = "3.undefined";
|
|
202
198
|
Input.model = {
|
|
203
199
|
prop: "modelValue",
|
|
204
200
|
event: "update:modelValue"
|
package/lib/mobile-first.js
CHANGED
|
@@ -151,7 +151,7 @@ var _hoisted_7 = {
|
|
|
151
151
|
key: 2,
|
|
152
152
|
"data-tag": "tiny-input-prefix",
|
|
153
153
|
ref: "prefix",
|
|
154
|
-
class: "left-2 transition-all duration-300 ease-in-out text-xs sm:text-sm absolute top-1/2 -translate-y-1/2 text-center text-color-text-placeholder flex items-center"
|
|
154
|
+
class: "left-2 transition-all fill-color-icon-placeholder duration-300 ease-in-out text-xs sm:text-sm absolute top-1/2 -translate-y-1/2 text-center text-color-text-placeholder flex items-center"
|
|
155
155
|
};
|
|
156
156
|
var _hoisted_8 = {
|
|
157
157
|
key: 3,
|
|
@@ -160,7 +160,7 @@ var _hoisted_8 = {
|
|
|
160
160
|
class: "right-2 transition-all duration-300 ease-in-out pointer-events-none text-xs absolute top-1/2 -translate-y-1/2 text-center text-color-text-placeholder flex items-center z-[1]"
|
|
161
161
|
};
|
|
162
162
|
var _hoisted_9 = {
|
|
163
|
-
class: "pointer-events-auto text-xs flex justify-start items-center"
|
|
163
|
+
class: "pointer-events-auto text-xs fill-color-icon-placeholder flex justify-start items-center"
|
|
164
164
|
};
|
|
165
165
|
var _hoisted_10 = {
|
|
166
166
|
key: 5,
|
|
@@ -179,14 +179,17 @@ var _hoisted_13 = {
|
|
|
179
179
|
ref: "panel"
|
|
180
180
|
};
|
|
181
181
|
var _hoisted_14 = {
|
|
182
|
-
class: "flex"
|
|
182
|
+
class: "inline-flex"
|
|
183
183
|
};
|
|
184
184
|
var _hoisted_15 = {
|
|
185
185
|
key: 0,
|
|
186
186
|
class: "float-right relative top-px clear-both text-color-brand text-sm leading-3 cursor-pointer"
|
|
187
187
|
};
|
|
188
|
-
var _hoisted_16 =
|
|
189
|
-
|
|
188
|
+
var _hoisted_16 = {
|
|
189
|
+
class: "font-[inherit]"
|
|
190
|
+
};
|
|
191
|
+
var _hoisted_17 = ["tabindex", "disabled", "readonly", "unselectable", "autocomplete", "aria-label"];
|
|
192
|
+
var _hoisted_18 = {
|
|
190
193
|
key: 2,
|
|
191
194
|
"data-tag": "tiny-input-limit",
|
|
192
195
|
class: "bg-color-bg-1 text-color-text-placeholder text-xs sm:text-sm absolute bottom-1 right-3"
|
|
@@ -416,6 +419,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
416
419
|
effect: "light",
|
|
417
420
|
content: _ctx.state.displayOnlyTooltip,
|
|
418
421
|
placement: "top",
|
|
422
|
+
pre: "",
|
|
419
423
|
"popper-class": _ctx.state.tooltipConfig.popperClass || "",
|
|
420
424
|
"popper-options": {
|
|
421
425
|
bubbling: true
|
|
@@ -483,8 +487,8 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
483
487
|
}),
|
|
484
488
|
default: withCtx(function() {
|
|
485
489
|
return [createElementVNode(
|
|
486
|
-
"
|
|
487
|
-
|
|
490
|
+
"pre",
|
|
491
|
+
_hoisted_16,
|
|
488
492
|
toDisplayString(_ctx.state.displayOnlyText),
|
|
489
493
|
1
|
|
490
494
|
/* TEXT */
|
|
@@ -530,12 +534,12 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
530
534
|
return _ctx.handleLeaveTextarea($event);
|
|
531
535
|
}),
|
|
532
536
|
"aria-label": _ctx.label
|
|
533
|
-
}), "\n ", 16,
|
|
537
|
+
}), "\n ", 16, _hoisted_17)],
|
|
534
538
|
2
|
|
535
539
|
/* CLASS */
|
|
536
540
|
)), _ctx.state.isWordLimitVisible && _ctx.type === "textarea" ? (openBlock(), createElementBlock(
|
|
537
541
|
"span",
|
|
538
|
-
|
|
542
|
+
_hoisted_18,
|
|
539
543
|
toDisplayString(_ctx.state.showWordLimit ? _ctx.state.textLength + "/" + _ctx.state.upperLimit : _ctx.state.textLength),
|
|
540
544
|
1
|
|
541
545
|
/* TEXT */
|
package/lib/pc.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { renderless as renderless$1, api as api$1 } from '@opentinyvue/vue-renderless/input/vue';
|
|
2
2
|
import { defineComponent, $prefix, setup, directive, props } from '@opentinyvue/vue-common';
|
|
3
|
-
import Clickoutside from '@opentinyvue/vue-
|
|
3
|
+
import { Clickoutside } from '@opentinyvue/vue-directive';
|
|
4
4
|
import { renderless, api } from '@opentinyvue/vue-renderless/tall-storage/vue';
|
|
5
5
|
import '@opentinyvue/vue-theme/tall-storage/index.css';
|
|
6
6
|
import { openBlock, createElementBlock, createElementVNode, withKeys, Fragment, renderList, normalizeClass, toDisplayString, resolveComponent, resolveDirective, mergeProps, renderSlot, createCommentVNode, createBlock, withCtx, resolveDynamicComponent, createVNode, Transition, withModifiers, createTextVNode, withDirectives } from 'vue';
|
|
@@ -251,7 +251,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
251
251
|
{
|
|
252
252
|
key: 0
|
|
253
253
|
},
|
|
254
|
-
[_ctx.slots.prepend ? (openBlock(), createElementBlock(
|
|
254
|
+
[_ctx.slots.prepend && !_ctx.state.isDisplayOnly ? (openBlock(), createElementBlock(
|
|
255
255
|
"div",
|
|
256
256
|
_hoisted_1,
|
|
257
257
|
[renderSlot(_ctx.$slots, "prepend")],
|
|
@@ -420,13 +420,13 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
420
420
|
}),
|
|
421
421
|
_: 3
|
|
422
422
|
/* FORWARDED */
|
|
423
|
-
})]), _ctx.slots.append ? (openBlock(), createElementBlock(
|
|
423
|
+
})]), _ctx.slots.append && !_ctx.state.isDisplayOnly ? (openBlock(), createElementBlock(
|
|
424
424
|
"div",
|
|
425
425
|
_hoisted_15,
|
|
426
426
|
[renderSlot(_ctx.$slots, "append")],
|
|
427
427
|
512
|
|
428
428
|
/* NEED_PATCH */
|
|
429
|
-
)) : createCommentVNode("v-if", true), _ctx.slots.panel ? (openBlock(), createElementBlock(
|
|
429
|
+
)) : createCommentVNode("v-if", true), _ctx.slots.panel && !_ctx.state.isDisplayOnly ? (openBlock(), createElementBlock(
|
|
430
430
|
"div",
|
|
431
431
|
_hoisted_16,
|
|
432
432
|
[renderSlot(_ctx.$slots, "panel")],
|
|
@@ -510,7 +510,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
510
510
|
}),
|
|
511
511
|
default: withCtx(function() {
|
|
512
512
|
return [createElementVNode(
|
|
513
|
-
"
|
|
513
|
+
"pre",
|
|
514
514
|
null,
|
|
515
515
|
toDisplayString(_ctx.state.displayOnlyText),
|
|
516
516
|
1
|
package/package.json
CHANGED
|
@@ -1,23 +1,22 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opentinyvue/vue-input",
|
|
3
|
-
"
|
|
3
|
+
"type": "module",
|
|
4
|
+
"version": "3.22.1",
|
|
4
5
|
"description": "",
|
|
6
|
+
"license": "MIT",
|
|
7
|
+
"sideEffects": false,
|
|
5
8
|
"main": "./lib/index.js",
|
|
6
9
|
"module": "./lib/index.js",
|
|
7
|
-
"sideEffects": false,
|
|
8
|
-
"type": "module",
|
|
9
10
|
"dependencies": {
|
|
10
|
-
"@opentinyvue/vue-
|
|
11
|
-
"@opentinyvue/vue-
|
|
12
|
-
"@opentinyvue/vue-
|
|
13
|
-
"@opentinyvue/vue-
|
|
14
|
-
"@opentinyvue/vue-
|
|
15
|
-
"@opentinyvue/vue-
|
|
16
|
-
"@opentinyvue/vue-
|
|
17
|
-
"@opentinyvue/vue-
|
|
18
|
-
"@opentinyvue/vue-theme": "~3.21.0"
|
|
11
|
+
"@opentinyvue/vue-directive": "~3.22.0",
|
|
12
|
+
"@opentinyvue/vue-button": "~3.22.0",
|
|
13
|
+
"@opentinyvue/vue-common": "~3.22.0",
|
|
14
|
+
"@opentinyvue/vue-dialog-box": "~3.22.0",
|
|
15
|
+
"@opentinyvue/vue-icon": "~3.22.0",
|
|
16
|
+
"@opentinyvue/vue-renderless": "~3.22.0",
|
|
17
|
+
"@opentinyvue/vue-theme": "~3.22.0",
|
|
18
|
+
"@opentinyvue/vue-tooltip": "~3.22.0"
|
|
19
19
|
},
|
|
20
|
-
"license": "MIT",
|
|
21
20
|
"types": "index.d.ts",
|
|
22
21
|
"scripts": {
|
|
23
22
|
"build": "pnpm -w build:ui $npm_package_name",
|
package/src/index.d.ts
CHANGED
|
@@ -586,20 +586,20 @@ declare const _default: import("@vue/runtime-core").DefineComponent<{
|
|
|
586
586
|
type: string;
|
|
587
587
|
ellipsis: boolean;
|
|
588
588
|
mask: boolean;
|
|
589
|
+
vertical: boolean;
|
|
590
|
+
customClass: string;
|
|
589
591
|
tiny_mode_root: boolean;
|
|
590
592
|
_constants: Record<string, any>;
|
|
591
593
|
tabindex: string;
|
|
592
|
-
contentStyle: Record<string, any>;
|
|
593
|
-
customClass: string;
|
|
594
594
|
showTitle: boolean;
|
|
595
595
|
readonly: boolean;
|
|
596
596
|
hoverExpand: boolean;
|
|
597
597
|
memorySpace: number;
|
|
598
|
-
vertical: boolean;
|
|
599
598
|
selectMenu: {
|
|
600
599
|
id: string;
|
|
601
600
|
label: string;
|
|
602
601
|
}[];
|
|
602
|
+
contentStyle: Record<string, any>;
|
|
603
603
|
isSelect: boolean;
|
|
604
604
|
counter: boolean;
|
|
605
605
|
autosize: boolean | Record<string, any>;
|
|
@@ -2,11 +2,13 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
|
|
|
2
2
|
name?: any;
|
|
3
3
|
label?: any;
|
|
4
4
|
disabled?: any;
|
|
5
|
+
height?: any;
|
|
6
|
+
size?: any;
|
|
7
|
+
resize?: any;
|
|
5
8
|
type?: any;
|
|
6
9
|
form?: any;
|
|
7
|
-
resize?: any;
|
|
8
|
-
size?: any;
|
|
9
10
|
mask?: any;
|
|
11
|
+
customClass?: any;
|
|
10
12
|
tiny_mode?: any;
|
|
11
13
|
tiny_mode_root?: any;
|
|
12
14
|
tiny_template?: any;
|
|
@@ -14,11 +16,9 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
|
|
|
14
16
|
_constants?: any;
|
|
15
17
|
tiny_theme?: any;
|
|
16
18
|
tiny_chart_theme?: any;
|
|
17
|
-
height?: any;
|
|
18
19
|
modelValue?: any;
|
|
19
20
|
tabindex?: any;
|
|
20
21
|
suffixIcon?: any;
|
|
21
|
-
customClass?: any;
|
|
22
22
|
readonly?: any;
|
|
23
23
|
hoverExpand?: any;
|
|
24
24
|
prefixIcon?: any;
|
|
@@ -35,15 +35,17 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
|
|
|
35
35
|
frontClearIcon?: any;
|
|
36
36
|
showEmptyValue?: any;
|
|
37
37
|
showTooltip?: any;
|
|
38
|
-
}>, any, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, ("input" | "
|
|
38
|
+
}>, any, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, ("input" | "change" | "keyup" | "keydown" | "blur" | "click" | "focus" | "mouseenter" | "mouseleave" | "paste" | "clear" | "update:modelValue")[], "input" | "change" | "keyup" | "keydown" | "blur" | "click" | "focus" | "mouseenter" | "mouseleave" | "paste" | "clear" | "update:modelValue", import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<Readonly<{
|
|
39
39
|
name?: any;
|
|
40
40
|
label?: any;
|
|
41
41
|
disabled?: any;
|
|
42
|
+
height?: any;
|
|
43
|
+
size?: any;
|
|
44
|
+
resize?: any;
|
|
42
45
|
type?: any;
|
|
43
46
|
form?: any;
|
|
44
|
-
resize?: any;
|
|
45
|
-
size?: any;
|
|
46
47
|
mask?: any;
|
|
48
|
+
customClass?: any;
|
|
47
49
|
tiny_mode?: any;
|
|
48
50
|
tiny_mode_root?: any;
|
|
49
51
|
tiny_template?: any;
|
|
@@ -51,11 +53,9 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
|
|
|
51
53
|
_constants?: any;
|
|
52
54
|
tiny_theme?: any;
|
|
53
55
|
tiny_chart_theme?: any;
|
|
54
|
-
height?: any;
|
|
55
56
|
modelValue?: any;
|
|
56
57
|
tabindex?: any;
|
|
57
58
|
suffixIcon?: any;
|
|
58
|
-
customClass?: any;
|
|
59
59
|
readonly?: any;
|
|
60
60
|
hoverExpand?: any;
|
|
61
61
|
prefixIcon?: any;
|
|
@@ -74,12 +74,12 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
|
|
|
74
74
|
showTooltip?: any;
|
|
75
75
|
}>>> & {
|
|
76
76
|
onInput?: ((...args: any[]) => any) | undefined;
|
|
77
|
-
onBlur?: ((...args: any[]) => any) | undefined;
|
|
78
77
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
78
|
+
onKeyup?: ((...args: any[]) => any) | undefined;
|
|
79
|
+
onKeydown?: ((...args: any[]) => any) | undefined;
|
|
80
|
+
onBlur?: ((...args: any[]) => any) | undefined;
|
|
79
81
|
onClick?: ((...args: any[]) => any) | undefined;
|
|
80
82
|
onFocus?: ((...args: any[]) => any) | undefined;
|
|
81
|
-
onKeydown?: ((...args: any[]) => any) | undefined;
|
|
82
|
-
onKeyup?: ((...args: any[]) => any) | undefined;
|
|
83
83
|
onMouseenter?: ((...args: any[]) => any) | undefined;
|
|
84
84
|
onMouseleave?: ((...args: any[]) => any) | undefined;
|
|
85
85
|
onPaste?: ((...args: any[]) => any) | undefined;
|
|
@@ -89,11 +89,13 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
|
|
|
89
89
|
readonly name?: any;
|
|
90
90
|
readonly label?: any;
|
|
91
91
|
readonly disabled?: any;
|
|
92
|
+
readonly height?: any;
|
|
93
|
+
readonly size?: any;
|
|
94
|
+
readonly resize?: any;
|
|
92
95
|
readonly type?: any;
|
|
93
96
|
readonly form?: any;
|
|
94
|
-
readonly resize?: any;
|
|
95
|
-
readonly size?: any;
|
|
96
97
|
readonly mask?: any;
|
|
98
|
+
readonly customClass?: any;
|
|
97
99
|
readonly tiny_mode?: any;
|
|
98
100
|
readonly tiny_mode_root?: any;
|
|
99
101
|
readonly tiny_template?: any;
|
|
@@ -101,11 +103,9 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
|
|
|
101
103
|
readonly _constants?: any;
|
|
102
104
|
readonly tiny_theme?: any;
|
|
103
105
|
readonly tiny_chart_theme?: any;
|
|
104
|
-
readonly height?: any;
|
|
105
106
|
readonly modelValue?: any;
|
|
106
107
|
readonly tabindex?: any;
|
|
107
108
|
readonly suffixIcon?: any;
|
|
108
|
-
readonly customClass?: any;
|
|
109
109
|
readonly readonly?: any;
|
|
110
110
|
readonly hoverExpand?: any;
|
|
111
111
|
readonly prefixIcon?: any;
|
package/src/pc.vue.d.ts
CHANGED
|
@@ -2,10 +2,11 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
|
|
|
2
2
|
name?: any;
|
|
3
3
|
label?: any;
|
|
4
4
|
disabled?: any;
|
|
5
|
+
height?: any;
|
|
6
|
+
size?: any;
|
|
7
|
+
resize?: any;
|
|
5
8
|
type?: any;
|
|
6
9
|
form?: any;
|
|
7
|
-
resize?: any;
|
|
8
|
-
size?: any;
|
|
9
10
|
mask?: any;
|
|
10
11
|
tiny_mode?: any;
|
|
11
12
|
tiny_mode_root?: any;
|
|
@@ -14,7 +15,6 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
|
|
|
14
15
|
_constants?: any;
|
|
15
16
|
tiny_theme?: any;
|
|
16
17
|
tiny_chart_theme?: any;
|
|
17
|
-
height?: any;
|
|
18
18
|
modelValue?: any;
|
|
19
19
|
tabindex?: any;
|
|
20
20
|
suffixIcon?: any;
|
|
@@ -45,14 +45,15 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
|
|
|
45
45
|
dp: (props: any) => void;
|
|
46
46
|
gcls: (key: any) => any;
|
|
47
47
|
m: (...cssClasses: any[]) => string;
|
|
48
|
-
}, any, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, ("input" | "
|
|
48
|
+
}, any, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, ("input" | "change" | "keyup" | "keydown" | "blur" | "click" | "focus" | "mouseenter" | "mouseleave" | "paste" | "clear" | "update:modelValue")[], "input" | "change" | "keyup" | "keydown" | "blur" | "click" | "focus" | "mouseenter" | "mouseleave" | "paste" | "clear" | "update:modelValue", import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<Readonly<{
|
|
49
49
|
name?: any;
|
|
50
50
|
label?: any;
|
|
51
51
|
disabled?: any;
|
|
52
|
+
height?: any;
|
|
53
|
+
size?: any;
|
|
54
|
+
resize?: any;
|
|
52
55
|
type?: any;
|
|
53
56
|
form?: any;
|
|
54
|
-
resize?: any;
|
|
55
|
-
size?: any;
|
|
56
57
|
mask?: any;
|
|
57
58
|
tiny_mode?: any;
|
|
58
59
|
tiny_mode_root?: any;
|
|
@@ -61,7 +62,6 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
|
|
|
61
62
|
_constants?: any;
|
|
62
63
|
tiny_theme?: any;
|
|
63
64
|
tiny_chart_theme?: any;
|
|
64
|
-
height?: any;
|
|
65
65
|
modelValue?: any;
|
|
66
66
|
tabindex?: any;
|
|
67
67
|
suffixIcon?: any;
|
|
@@ -85,12 +85,12 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
|
|
|
85
85
|
inputBoxType?: any;
|
|
86
86
|
}>>> & {
|
|
87
87
|
onInput?: ((...args: any[]) => any) | undefined;
|
|
88
|
-
onBlur?: ((...args: any[]) => any) | undefined;
|
|
89
88
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
89
|
+
onKeyup?: ((...args: any[]) => any) | undefined;
|
|
90
|
+
onKeydown?: ((...args: any[]) => any) | undefined;
|
|
91
|
+
onBlur?: ((...args: any[]) => any) | undefined;
|
|
90
92
|
onClick?: ((...args: any[]) => any) | undefined;
|
|
91
93
|
onFocus?: ((...args: any[]) => any) | undefined;
|
|
92
|
-
onKeydown?: ((...args: any[]) => any) | undefined;
|
|
93
|
-
onKeyup?: ((...args: any[]) => any) | undefined;
|
|
94
94
|
onMouseenter?: ((...args: any[]) => any) | undefined;
|
|
95
95
|
onMouseleave?: ((...args: any[]) => any) | undefined;
|
|
96
96
|
onPaste?: ((...args: any[]) => any) | undefined;
|
|
@@ -100,10 +100,11 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
|
|
|
100
100
|
readonly name?: any;
|
|
101
101
|
readonly label?: any;
|
|
102
102
|
readonly disabled?: any;
|
|
103
|
+
readonly height?: any;
|
|
104
|
+
readonly size?: any;
|
|
105
|
+
readonly resize?: any;
|
|
103
106
|
readonly type?: any;
|
|
104
107
|
readonly form?: any;
|
|
105
|
-
readonly resize?: any;
|
|
106
|
-
readonly size?: any;
|
|
107
108
|
readonly mask?: any;
|
|
108
109
|
readonly tiny_mode?: any;
|
|
109
110
|
readonly tiny_mode_root?: any;
|
|
@@ -112,7 +113,6 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
|
|
|
112
113
|
readonly _constants?: any;
|
|
113
114
|
readonly tiny_theme?: any;
|
|
114
115
|
readonly tiny_chart_theme?: any;
|
|
115
|
-
readonly height?: any;
|
|
116
116
|
readonly modelValue?: any;
|
|
117
117
|
readonly tabindex?: any;
|
|
118
118
|
readonly suffixIcon?: any;
|
package/lib/mobile.js
DELETED
|
@@ -1,338 +0,0 @@
|
|
|
1
|
-
import { renderless, api } from '@opentinyvue/vue-renderless/input/vue';
|
|
2
|
-
import { defineComponent, props, setup } from '@opentinyvue/vue-common';
|
|
3
|
-
import { iconClose, iconChevronRight, iconEyeopen, iconEyeclose } from '@opentinyvue/vue-icon';
|
|
4
|
-
import ActionSheet from '@opentinyvue/vue-action-sheet';
|
|
5
|
-
import '@opentinyvue/vue-theme-mobile/input/index.css';
|
|
6
|
-
import { resolveComponent, openBlock, createElementBlock, normalizeClass, normalizeStyle, renderSlot, createTextVNode, toDisplayString, createCommentVNode, createElementVNode, mergeProps, createVNode, Fragment, createBlock, resolveDynamicComponent, withModifiers } from 'vue';
|
|
7
|
-
|
|
8
|
-
function _createForOfIteratorHelperLoose(r, e) {
|
|
9
|
-
var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
|
|
10
|
-
if (t) return (t = t.call(r)).next.bind(t);
|
|
11
|
-
if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) {
|
|
12
|
-
t && (r = t);
|
|
13
|
-
var o = 0;
|
|
14
|
-
return function() {
|
|
15
|
-
return o >= r.length ? { done: true } : { done: false, value: r[o++] };
|
|
16
|
-
};
|
|
17
|
-
}
|
|
18
|
-
throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
19
|
-
}
|
|
20
|
-
function _unsupportedIterableToArray(r, a) {
|
|
21
|
-
if (r) {
|
|
22
|
-
if ("string" == typeof r) return _arrayLikeToArray(r, a);
|
|
23
|
-
var t = {}.toString.call(r).slice(8, -1);
|
|
24
|
-
return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0;
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
function _arrayLikeToArray(r, a) {
|
|
28
|
-
(null == a || a > r.length) && (a = r.length);
|
|
29
|
-
for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];
|
|
30
|
-
return n;
|
|
31
|
-
}
|
|
32
|
-
var _export_sfc = function _export_sfc2(sfc, props) {
|
|
33
|
-
var target = sfc.__vccOpts || sfc;
|
|
34
|
-
for (var _iterator = _createForOfIteratorHelperLoose(props), _step; !(_step = _iterator()).done; ) {
|
|
35
|
-
var _step$value = _step.value, key = _step$value[0], val = _step$value[1];
|
|
36
|
-
target[key] = val;
|
|
37
|
-
}
|
|
38
|
-
return target;
|
|
39
|
-
};
|
|
40
|
-
|
|
41
|
-
function _extends() {
|
|
42
|
-
return _extends = Object.assign ? Object.assign.bind() : function(n) {
|
|
43
|
-
for (var e = 1; e < arguments.length; e++) {
|
|
44
|
-
var t = arguments[e];
|
|
45
|
-
for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
|
|
46
|
-
}
|
|
47
|
-
return n;
|
|
48
|
-
}, _extends.apply(null, arguments);
|
|
49
|
-
}
|
|
50
|
-
var _sfc_main = defineComponent({
|
|
51
|
-
emits: ["update:modelValue", "change", "clear", "focus", "blur", "keyup", "keydown", "paste", "mouseenter", "mouseleave", "input"],
|
|
52
|
-
components: {
|
|
53
|
-
IconClose: iconClose(),
|
|
54
|
-
IconChevronRight: iconChevronRight(),
|
|
55
|
-
IconEyeopen: iconEyeopen(),
|
|
56
|
-
IconEyeclose: iconEyeclose(),
|
|
57
|
-
TinyActionSheet: ActionSheet
|
|
58
|
-
},
|
|
59
|
-
props: [].concat(props, ["name", "selectMenu", "ellipsis", "contentStyle", "labelWidth", "tips", "isSelect", "type", "label", "modelValue", "disabled", "readonly", "clearable", "suffixIcon", "prefixIcon", "autocomplete", "showPassword", "validateEvent", "showWordLimit", "title", "counter", "autosize", "tabindex", "width", "textAlign", "resize"]),
|
|
60
|
-
setup: function setup$1(props2, context) {
|
|
61
|
-
return setup({
|
|
62
|
-
props: props2,
|
|
63
|
-
context,
|
|
64
|
-
renderless,
|
|
65
|
-
api
|
|
66
|
-
});
|
|
67
|
-
}
|
|
68
|
-
});
|
|
69
|
-
var _hoisted_1 = {
|
|
70
|
-
key: 0,
|
|
71
|
-
class: "tiny-mobile-input__title"
|
|
72
|
-
};
|
|
73
|
-
var _hoisted_2 = {
|
|
74
|
-
key: 1,
|
|
75
|
-
class: "tiny-mobile-input__wrapper"
|
|
76
|
-
};
|
|
77
|
-
var _hoisted_3 = ["value", "disabled", "name", "aria-label", "tabindex"];
|
|
78
|
-
var _hoisted_4 = ["name", "tabindex", "type", "disabled", "readonly", "autocomplete", "aria-label"];
|
|
79
|
-
var _hoisted_5 = {
|
|
80
|
-
key: 1,
|
|
81
|
-
class: "tiny-mobile-input-group__prepend"
|
|
82
|
-
};
|
|
83
|
-
var _hoisted_6 = {
|
|
84
|
-
key: 2,
|
|
85
|
-
class: "tiny-mobile-input__prefix"
|
|
86
|
-
};
|
|
87
|
-
var _hoisted_7 = {
|
|
88
|
-
key: 3,
|
|
89
|
-
class: "tiny-mobile-input__suffix"
|
|
90
|
-
};
|
|
91
|
-
var _hoisted_8 = {
|
|
92
|
-
key: 3,
|
|
93
|
-
class: "tiny-mobile-input__count"
|
|
94
|
-
};
|
|
95
|
-
var _hoisted_9 = {
|
|
96
|
-
class: "tiny-mobile-input__count-inner"
|
|
97
|
-
};
|
|
98
|
-
var _hoisted_10 = {
|
|
99
|
-
key: 4,
|
|
100
|
-
class: "tiny-mobile-input-group__append"
|
|
101
|
-
};
|
|
102
|
-
var _hoisted_11 = {
|
|
103
|
-
key: 2,
|
|
104
|
-
class: "tiny-mobile-textarea__wrapper"
|
|
105
|
-
};
|
|
106
|
-
var _hoisted_12 = ["name", "tabindex", "disabled", "readonly", "autocomplete", "aria-label"];
|
|
107
|
-
var _hoisted_13 = {
|
|
108
|
-
key: 3,
|
|
109
|
-
class: "tiny-mobile-textarea__count"
|
|
110
|
-
};
|
|
111
|
-
var _hoisted_14 = {
|
|
112
|
-
key: 4,
|
|
113
|
-
class: "tiny-mobile-input__tips"
|
|
114
|
-
};
|
|
115
|
-
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
116
|
-
var _component_IconChevronRight = resolveComponent("IconChevronRight");
|
|
117
|
-
var _component_icon_close = resolveComponent("icon-close");
|
|
118
|
-
var _component_tiny_action_sheet = resolveComponent("tiny-action-sheet");
|
|
119
|
-
return openBlock(), createElementBlock(
|
|
120
|
-
"div",
|
|
121
|
-
{
|
|
122
|
-
class: normalizeClass([_ctx.type === "textarea" ? "tiny-mobile-textarea" : "tiny-mobile-input", _ctx.state.inputSize ? "tiny-mobile-input-" + _ctx.state.inputSize : "", {
|
|
123
|
-
"is-focus": _ctx.state.focused,
|
|
124
|
-
"is-disabled": _ctx.state.inputDisabled,
|
|
125
|
-
"is-exceed": _ctx.state.inputExceed,
|
|
126
|
-
"is-showlimit": _ctx.state.isWordLimitVisible && _ctx.type === "textarea",
|
|
127
|
-
"tiny-mobile-input-group": _ctx.slots.prepend || _ctx.slots.append,
|
|
128
|
-
"tiny-mobile-input-group-append": _ctx.slots.append,
|
|
129
|
-
"tiny-mobile-input-group-prepend": _ctx.slots.prepend
|
|
130
|
-
}]),
|
|
131
|
-
style: normalizeStyle(_ctx.$attrs.style),
|
|
132
|
-
onMouseenter: _cache[23] || (_cache[23] = function($event) {
|
|
133
|
-
return _ctx.state.hovering = true;
|
|
134
|
-
}),
|
|
135
|
-
onMouseleave: _cache[24] || (_cache[24] = function($event) {
|
|
136
|
-
return _ctx.state.hovering = false;
|
|
137
|
-
})
|
|
138
|
-
},
|
|
139
|
-
[_ctx.slots.title || _ctx.title ? (openBlock(), createElementBlock("div", _hoisted_1, [renderSlot(_ctx.$slots, "title", {}, function() {
|
|
140
|
-
return [createTextVNode(
|
|
141
|
-
toDisplayString(_ctx.title),
|
|
142
|
-
1
|
|
143
|
-
/* TEXT */
|
|
144
|
-
)];
|
|
145
|
-
})])) : createCommentVNode("v-if", true), _ctx.type !== "textarea" ? (openBlock(), createElementBlock("div", _hoisted_2, [_ctx.isSelect ? (openBlock(), createElementBlock("div", {
|
|
146
|
-
key: 0,
|
|
147
|
-
class: "tiny-mobile-input__select",
|
|
148
|
-
onClick: _cache[2] || (_cache[2] = function() {
|
|
149
|
-
return _ctx.showBox && _ctx.showBox.apply(_ctx, arguments);
|
|
150
|
-
})
|
|
151
|
-
}, [createElementVNode("input", mergeProps({
|
|
152
|
-
type: "text",
|
|
153
|
-
readonly: "",
|
|
154
|
-
class: "tiny-mobile-input__inner"
|
|
155
|
-
}, _ctx.a(_ctx.$attrs, ["size", "class", "style", "^on[A-Z]"]), {
|
|
156
|
-
value: _ctx.state.checkedLabel,
|
|
157
|
-
disabled: _ctx.state.inputDisabled,
|
|
158
|
-
name: _ctx.name,
|
|
159
|
-
"aria-label": _ctx.label,
|
|
160
|
-
style: _ctx.state.inputStyle,
|
|
161
|
-
tabindex: _ctx.tabindex,
|
|
162
|
-
onInput: _cache[0] || (_cache[0] = function() {
|
|
163
|
-
return _ctx.handleInput && _ctx.handleInput.apply(_ctx, arguments);
|
|
164
|
-
}),
|
|
165
|
-
onChange: _cache[1] || (_cache[1] = function() {
|
|
166
|
-
return _ctx.handleChange && _ctx.handleChange.apply(_ctx, arguments);
|
|
167
|
-
})
|
|
168
|
-
}), null, 16, _hoisted_3), createElementVNode(
|
|
169
|
-
"div",
|
|
170
|
-
{
|
|
171
|
-
class: "tiny-mobile-input__select-icon",
|
|
172
|
-
style: normalizeStyle({
|
|
173
|
-
transform: _ctx.state.boxVisibility ? "rotate(90deg)" : "none"
|
|
174
|
-
})
|
|
175
|
-
},
|
|
176
|
-
[createVNode(_component_IconChevronRight)],
|
|
177
|
-
4
|
|
178
|
-
/* STYLE */
|
|
179
|
-
)])) : (openBlock(), createElementBlock(
|
|
180
|
-
Fragment,
|
|
181
|
-
{
|
|
182
|
-
key: 1
|
|
183
|
-
},
|
|
184
|
-
[_ctx.type !== "textarea" ? (openBlock(), createElementBlock("input", mergeProps({
|
|
185
|
-
key: 0,
|
|
186
|
-
ref: "input",
|
|
187
|
-
name: _ctx.name
|
|
188
|
-
}, _ctx.a(_ctx.$attrs, ["size", "class", "style", "^on[A-Z]"]), {
|
|
189
|
-
class: "tiny-mobile-input__inner",
|
|
190
|
-
style: _ctx.state.inputStyle,
|
|
191
|
-
tabindex: _ctx.tabindex,
|
|
192
|
-
type: _ctx.showPassword ? _ctx.state.passwordVisible ? "text" : "password" : _ctx.type,
|
|
193
|
-
disabled: _ctx.state.inputDisabled,
|
|
194
|
-
readonly: _ctx.readonly,
|
|
195
|
-
autocomplete: _ctx.autocomplete,
|
|
196
|
-
onCompositionstart: _cache[3] || (_cache[3] = function() {
|
|
197
|
-
return _ctx.handleCompositionStart && _ctx.handleCompositionStart.apply(_ctx, arguments);
|
|
198
|
-
}),
|
|
199
|
-
onCompositionupdate: _cache[4] || (_cache[4] = function() {
|
|
200
|
-
return _ctx.handleCompositionUpdate && _ctx.handleCompositionUpdate.apply(_ctx, arguments);
|
|
201
|
-
}),
|
|
202
|
-
onCompositionend: _cache[5] || (_cache[5] = function() {
|
|
203
|
-
return _ctx.handleCompositionEnd && _ctx.handleCompositionEnd.apply(_ctx, arguments);
|
|
204
|
-
}),
|
|
205
|
-
onInput: _cache[6] || (_cache[6] = function() {
|
|
206
|
-
return _ctx.handleInput && _ctx.handleInput.apply(_ctx, arguments);
|
|
207
|
-
}),
|
|
208
|
-
onFocus: _cache[7] || (_cache[7] = function() {
|
|
209
|
-
return _ctx.handleFocus && _ctx.handleFocus.apply(_ctx, arguments);
|
|
210
|
-
}),
|
|
211
|
-
onBlur: _cache[8] || (_cache[8] = function() {
|
|
212
|
-
return _ctx.handleBlur && _ctx.handleBlur.apply(_ctx, arguments);
|
|
213
|
-
}),
|
|
214
|
-
onChange: _cache[9] || (_cache[9] = function() {
|
|
215
|
-
return _ctx.handleChange && _ctx.handleChange.apply(_ctx, arguments);
|
|
216
|
-
}),
|
|
217
|
-
"aria-label": _ctx.label
|
|
218
|
-
}), null, 16, _hoisted_4)) : createCommentVNode("v-if", true), _ctx.slots.prepend ? (openBlock(), createElementBlock("div", _hoisted_5, [createElementVNode("span", null, [renderSlot(_ctx.$slots, "prepend")])])) : createCommentVNode("v-if", true), _ctx.slots.prefix || _ctx.prefixIcon ? (openBlock(), createElementBlock("div", _hoisted_6, [renderSlot(_ctx.$slots, "prefix"), _ctx.prefixIcon ? (openBlock(), createBlock(resolveDynamicComponent(_ctx.prefixIcon), {
|
|
219
|
-
key: 0,
|
|
220
|
-
class: "tiny-mobile-input__icon"
|
|
221
|
-
})) : createCommentVNode("v-if", true)])) : createCommentVNode("v-if", true), _ctx.getSuffixVisible() ? (openBlock(), createElementBlock("span", _hoisted_7, [!_ctx.state.showClear || !_ctx.state.showPwdVisible || !_ctx.state.isWordLimitVisible ? (openBlock(), createElementBlock(
|
|
222
|
-
Fragment,
|
|
223
|
-
{
|
|
224
|
-
key: 0
|
|
225
|
-
},
|
|
226
|
-
[renderSlot(_ctx.$slots, "suffix"), _ctx.suffixIcon ? (openBlock(), createBlock(resolveDynamicComponent(_ctx.suffixIcon), {
|
|
227
|
-
key: 0,
|
|
228
|
-
class: "tiny-mobile-input__icon"
|
|
229
|
-
})) : createCommentVNode("v-if", true)],
|
|
230
|
-
64
|
|
231
|
-
/* STABLE_FRAGMENT */
|
|
232
|
-
)) : createCommentVNode("v-if", true), _ctx.state.showClear ? (openBlock(), createBlock(_component_icon_close, {
|
|
233
|
-
key: 1,
|
|
234
|
-
class: "tiny-mobile-input__icon tiny-mobile-input__clear",
|
|
235
|
-
onMousedown: _cache[10] || (_cache[10] = withModifiers(function() {
|
|
236
|
-
}, ["prevent"])),
|
|
237
|
-
onClick: _ctx.clear
|
|
238
|
-
}, null, 8, ["onClick"])) : createCommentVNode("v-if", true), _ctx.state.showPwdVisible ? (openBlock(), createBlock(resolveDynamicComponent(_ctx.state.passwordVisible ? "icon-eyeopen" : "icon-eyeclose"), {
|
|
239
|
-
key: 2,
|
|
240
|
-
class: "tiny-mobile-input__icon",
|
|
241
|
-
onClick: _ctx.handlePasswordVisible
|
|
242
|
-
}, null, 8, ["onClick"])) : createCommentVNode("v-if", true), _ctx.state.isWordLimitVisible ? (openBlock(), createElementBlock("span", _hoisted_8, [createElementVNode(
|
|
243
|
-
"span",
|
|
244
|
-
_hoisted_9,
|
|
245
|
-
toDisplayString(_ctx.state.showWordLimit ? _ctx.state.textLength + "/" + _ctx.state.upperLimit : _ctx.state.textLength),
|
|
246
|
-
1
|
|
247
|
-
/* TEXT */
|
|
248
|
-
)])) : createCommentVNode("v-if", true), _ctx.state.validateState ? (openBlock(), createElementBlock(
|
|
249
|
-
"i",
|
|
250
|
-
{
|
|
251
|
-
key: 4,
|
|
252
|
-
class: normalizeClass(["tiny-mobile-input__icon", ["tiny-mobile-input__validateIcon", _ctx.validateIcon]])
|
|
253
|
-
},
|
|
254
|
-
null,
|
|
255
|
-
2
|
|
256
|
-
/* CLASS */
|
|
257
|
-
)) : createCommentVNode("v-if", true)])) : createCommentVNode("v-if", true), _ctx.slots.append ? (openBlock(), createElementBlock("div", _hoisted_10, [renderSlot(_ctx.$slots, "append")])) : createCommentVNode("v-if", true)],
|
|
258
|
-
64
|
|
259
|
-
/* STABLE_FRAGMENT */
|
|
260
|
-
))])) : (openBlock(), createElementBlock("div", _hoisted_11, [createElementVNode("textarea", mergeProps({
|
|
261
|
-
ref: "textarea",
|
|
262
|
-
name: _ctx.name
|
|
263
|
-
}, _ctx.a(_ctx.$attrs, ["type", "class", "style", "^on[A-Z]"]), {
|
|
264
|
-
class: ["tiny-mobile-textarea__inner", {
|
|
265
|
-
"is-focus": _ctx.state.focused,
|
|
266
|
-
"is-autosize": _ctx.autosize
|
|
267
|
-
}],
|
|
268
|
-
tabindex: _ctx.tabindex,
|
|
269
|
-
disabled: _ctx.state.inputDisabled,
|
|
270
|
-
readonly: _ctx.readonly,
|
|
271
|
-
autocomplete: _ctx.autocomplete,
|
|
272
|
-
style: _extends({}, _ctx.state.textareaStyle, {
|
|
273
|
-
width: _ctx.$attrs.cols ? "auto" : "100%",
|
|
274
|
-
height: _ctx.$attrs.cols || _ctx.autosize ? "auto" : ""
|
|
275
|
-
}),
|
|
276
|
-
"aria-label": _ctx.label,
|
|
277
|
-
onFocus: _cache[11] || (_cache[11] = function() {
|
|
278
|
-
return _ctx.handleFocus && _ctx.handleFocus.apply(_ctx, arguments);
|
|
279
|
-
}),
|
|
280
|
-
onBlur: _cache[12] || (_cache[12] = function() {
|
|
281
|
-
return _ctx.handleBlur && _ctx.handleBlur.apply(_ctx, arguments);
|
|
282
|
-
}),
|
|
283
|
-
onChange: _cache[13] || (_cache[13] = function() {
|
|
284
|
-
return _ctx.handleChange && _ctx.handleChange.apply(_ctx, arguments);
|
|
285
|
-
}),
|
|
286
|
-
onCompositionstart: _cache[14] || (_cache[14] = function() {
|
|
287
|
-
return _ctx.handleCompositionStart && _ctx.handleCompositionStart.apply(_ctx, arguments);
|
|
288
|
-
}),
|
|
289
|
-
onCompositionupdate: _cache[15] || (_cache[15] = function() {
|
|
290
|
-
return _ctx.handleCompositionUpdate && _ctx.handleCompositionUpdate.apply(_ctx, arguments);
|
|
291
|
-
}),
|
|
292
|
-
onCompositionend: _cache[16] || (_cache[16] = function() {
|
|
293
|
-
return _ctx.handleCompositionEnd && _ctx.handleCompositionEnd.apply(_ctx, arguments);
|
|
294
|
-
}),
|
|
295
|
-
onInput: _cache[17] || (_cache[17] = function() {
|
|
296
|
-
return _ctx.handleInput && _ctx.handleInput.apply(_ctx, arguments);
|
|
297
|
-
}),
|
|
298
|
-
onKeyup: _cache[18] || (_cache[18] = function($event) {
|
|
299
|
-
return _ctx.$emit("keyup", $event);
|
|
300
|
-
}),
|
|
301
|
-
onKeydown: _cache[19] || (_cache[19] = function($event) {
|
|
302
|
-
return _ctx.$emit("keydown", $event);
|
|
303
|
-
}),
|
|
304
|
-
onPaste: _cache[20] || (_cache[20] = function($event) {
|
|
305
|
-
return _ctx.$emit("paste", $event);
|
|
306
|
-
})
|
|
307
|
-
}), "\n ", 16, _hoisted_12)])), _ctx.state.isWordLimitVisible && _ctx.type === "textarea" ? (openBlock(), createElementBlock(
|
|
308
|
-
"span",
|
|
309
|
-
_hoisted_13,
|
|
310
|
-
toDisplayString(_ctx.state.showWordLimit ? _ctx.state.textLength + "/" + _ctx.state.upperLimit : _ctx.state.textLength),
|
|
311
|
-
1
|
|
312
|
-
/* TEXT */
|
|
313
|
-
)) : createCommentVNode("v-if", true), _ctx.slots.tips || _ctx.tips ? (openBlock(), createElementBlock("div", _hoisted_14, [renderSlot(_ctx.$slots, "tips", {}, function() {
|
|
314
|
-
return [createTextVNode(
|
|
315
|
-
toDisplayString(_ctx.tips),
|
|
316
|
-
1
|
|
317
|
-
/* TEXT */
|
|
318
|
-
)];
|
|
319
|
-
})])) : createCommentVNode("v-if", true), createVNode(_component_tiny_action_sheet, {
|
|
320
|
-
modelValue: _ctx.state.sheetvalue,
|
|
321
|
-
"onUpdate:modelValue": _cache[21] || (_cache[21] = function($event) {
|
|
322
|
-
return _ctx.state.sheetvalue = $event;
|
|
323
|
-
}),
|
|
324
|
-
menus: _ctx.selectMenu,
|
|
325
|
-
ellipsis: _ctx.ellipsis,
|
|
326
|
-
"content-style": _ctx.contentStyle,
|
|
327
|
-
visible: _ctx.state.boxVisibility,
|
|
328
|
-
"onUpdate:visible": _cache[22] || (_cache[22] = function($event) {
|
|
329
|
-
return _ctx.state.boxVisibility = $event;
|
|
330
|
-
})
|
|
331
|
-
}, null, 8, ["modelValue", "menus", "ellipsis", "content-style", "visible"])],
|
|
332
|
-
38
|
|
333
|
-
/* CLASS, STYLE, NEED_HYDRATION */
|
|
334
|
-
);
|
|
335
|
-
}
|
|
336
|
-
var mobile = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
|
|
337
|
-
|
|
338
|
-
export { mobile as default };
|
package/src/mobile.vue.d.ts
DELETED
|
@@ -1,125 +0,0 @@
|
|
|
1
|
-
declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
|
|
2
|
-
name?: any;
|
|
3
|
-
label?: any;
|
|
4
|
-
disabled?: any;
|
|
5
|
-
type?: any;
|
|
6
|
-
ellipsis?: any;
|
|
7
|
-
title?: any;
|
|
8
|
-
resize?: any;
|
|
9
|
-
tiny_mode?: any;
|
|
10
|
-
tiny_mode_root?: any;
|
|
11
|
-
tiny_template?: any;
|
|
12
|
-
tiny_renderless?: any;
|
|
13
|
-
_constants?: any;
|
|
14
|
-
tiny_theme?: any;
|
|
15
|
-
tiny_chart_theme?: any;
|
|
16
|
-
width?: any;
|
|
17
|
-
modelValue?: any;
|
|
18
|
-
tabindex?: any;
|
|
19
|
-
suffixIcon?: any;
|
|
20
|
-
contentStyle?: any;
|
|
21
|
-
readonly?: any;
|
|
22
|
-
prefixIcon?: any;
|
|
23
|
-
selectMenu?: any;
|
|
24
|
-
isSelect?: any;
|
|
25
|
-
tips?: any;
|
|
26
|
-
counter?: any;
|
|
27
|
-
autosize?: any;
|
|
28
|
-
clearable?: any;
|
|
29
|
-
autocomplete?: any;
|
|
30
|
-
showPassword?: any;
|
|
31
|
-
showWordLimit?: any;
|
|
32
|
-
validateEvent?: any;
|
|
33
|
-
textAlign?: any;
|
|
34
|
-
labelWidth?: any;
|
|
35
|
-
}>, {
|
|
36
|
-
t: (this: any, path: any, options?: any) => any;
|
|
37
|
-
vm: any;
|
|
38
|
-
f: (props: any, attrs?: {}) => {};
|
|
39
|
-
a: (attrs: any, filters: any, include: any) => {};
|
|
40
|
-
d: (props: any) => void;
|
|
41
|
-
dp: (props: any) => void;
|
|
42
|
-
gcls: (key: any) => any;
|
|
43
|
-
m: (...cssClasses: any[]) => string;
|
|
44
|
-
}, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, ("input" | "blur" | "change" | "focus" | "keydown" | "keyup" | "mouseenter" | "mouseleave" | "paste" | "clear" | "update:modelValue")[], "input" | "blur" | "change" | "focus" | "keydown" | "keyup" | "mouseenter" | "mouseleave" | "paste" | "clear" | "update:modelValue", import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<Readonly<{
|
|
45
|
-
name?: any;
|
|
46
|
-
label?: any;
|
|
47
|
-
disabled?: any;
|
|
48
|
-
type?: any;
|
|
49
|
-
ellipsis?: any;
|
|
50
|
-
title?: any;
|
|
51
|
-
resize?: any;
|
|
52
|
-
tiny_mode?: any;
|
|
53
|
-
tiny_mode_root?: any;
|
|
54
|
-
tiny_template?: any;
|
|
55
|
-
tiny_renderless?: any;
|
|
56
|
-
_constants?: any;
|
|
57
|
-
tiny_theme?: any;
|
|
58
|
-
tiny_chart_theme?: any;
|
|
59
|
-
width?: any;
|
|
60
|
-
modelValue?: any;
|
|
61
|
-
tabindex?: any;
|
|
62
|
-
suffixIcon?: any;
|
|
63
|
-
contentStyle?: any;
|
|
64
|
-
readonly?: any;
|
|
65
|
-
prefixIcon?: any;
|
|
66
|
-
selectMenu?: any;
|
|
67
|
-
isSelect?: any;
|
|
68
|
-
tips?: any;
|
|
69
|
-
counter?: any;
|
|
70
|
-
autosize?: any;
|
|
71
|
-
clearable?: any;
|
|
72
|
-
autocomplete?: any;
|
|
73
|
-
showPassword?: any;
|
|
74
|
-
showWordLimit?: any;
|
|
75
|
-
validateEvent?: any;
|
|
76
|
-
textAlign?: any;
|
|
77
|
-
labelWidth?: any;
|
|
78
|
-
}>>> & {
|
|
79
|
-
onInput?: ((...args: any[]) => any) | undefined;
|
|
80
|
-
onBlur?: ((...args: any[]) => any) | undefined;
|
|
81
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
82
|
-
onFocus?: ((...args: any[]) => any) | undefined;
|
|
83
|
-
onKeydown?: ((...args: any[]) => any) | undefined;
|
|
84
|
-
onKeyup?: ((...args: any[]) => any) | undefined;
|
|
85
|
-
onMouseenter?: ((...args: any[]) => any) | undefined;
|
|
86
|
-
onMouseleave?: ((...args: any[]) => any) | undefined;
|
|
87
|
-
onPaste?: ((...args: any[]) => any) | undefined;
|
|
88
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
89
|
-
onClear?: ((...args: any[]) => any) | undefined;
|
|
90
|
-
}, {
|
|
91
|
-
readonly name?: any;
|
|
92
|
-
readonly label?: any;
|
|
93
|
-
readonly disabled?: any;
|
|
94
|
-
readonly type?: any;
|
|
95
|
-
readonly ellipsis?: any;
|
|
96
|
-
readonly title?: any;
|
|
97
|
-
readonly resize?: any;
|
|
98
|
-
readonly tiny_mode?: any;
|
|
99
|
-
readonly tiny_mode_root?: any;
|
|
100
|
-
readonly tiny_template?: any;
|
|
101
|
-
readonly tiny_renderless?: any;
|
|
102
|
-
readonly _constants?: any;
|
|
103
|
-
readonly tiny_theme?: any;
|
|
104
|
-
readonly tiny_chart_theme?: any;
|
|
105
|
-
readonly width?: any;
|
|
106
|
-
readonly modelValue?: any;
|
|
107
|
-
readonly tabindex?: any;
|
|
108
|
-
readonly suffixIcon?: any;
|
|
109
|
-
readonly contentStyle?: any;
|
|
110
|
-
readonly readonly?: any;
|
|
111
|
-
readonly prefixIcon?: any;
|
|
112
|
-
readonly selectMenu?: any;
|
|
113
|
-
readonly isSelect?: any;
|
|
114
|
-
readonly tips?: any;
|
|
115
|
-
readonly counter?: any;
|
|
116
|
-
readonly autosize?: any;
|
|
117
|
-
readonly clearable?: any;
|
|
118
|
-
readonly autocomplete?: any;
|
|
119
|
-
readonly showPassword?: any;
|
|
120
|
-
readonly showWordLimit?: any;
|
|
121
|
-
readonly validateEvent?: any;
|
|
122
|
-
readonly textAlign?: any;
|
|
123
|
-
readonly labelWidth?: any;
|
|
124
|
-
}, {}>;
|
|
125
|
-
export default _default;
|