@opentinyvue/vue-input 2.22.0 → 3.22.0
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 +1 -1
- package/lib/mobile-first.js +494 -344
- package/lib/pc.js +538 -365
- package/lib/tall-storage.js +73 -68
- package/package.json +7 -7
- package/src/index.d.ts +406 -2
- package/src/mobile-first.vue.d.ts +125 -1
- package/src/pc.vue.d.ts +137 -1
- package/src/tall-storage.vue.d.ts +18 -1
package/lib/tall-storage.js
CHANGED
|
@@ -1,38 +1,42 @@
|
|
|
1
1
|
import { defineComponent, $prefix, setup } from '@opentinyvue/vue-common';
|
|
2
2
|
import { renderless, api } from '@opentinyvue/vue-renderless/tall-storage/vue';
|
|
3
3
|
import '@opentinyvue/vue-theme/tall-storage/index.css';
|
|
4
|
+
import { openBlock, createElementBlock, createElementVNode, withKeys, Fragment, renderList, normalizeClass, toDisplayString } from 'vue';
|
|
4
5
|
|
|
5
|
-
function
|
|
6
|
-
var
|
|
7
|
-
if (
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
6
|
+
function _createForOfIteratorHelperLoose(r, e) {
|
|
7
|
+
var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
|
|
8
|
+
if (t) return (t = t.call(r)).next.bind(t);
|
|
9
|
+
if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) {
|
|
10
|
+
t && (r = t);
|
|
11
|
+
var o = 0;
|
|
12
|
+
return function() {
|
|
13
|
+
return o >= r.length ? { done: true } : { done: false, value: r[o++] };
|
|
14
|
+
};
|
|
11
15
|
}
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
var originalRender = options.render;
|
|
20
|
-
options.render = function renderWithStyleInjection(h, context) {
|
|
21
|
-
hook.call(context);
|
|
22
|
-
return originalRender(h, context);
|
|
23
|
-
};
|
|
24
|
-
} else {
|
|
25
|
-
var existing = options.beforeCreate;
|
|
26
|
-
options.beforeCreate = existing ? [].concat(existing, hook) : [hook];
|
|
27
|
-
}
|
|
16
|
+
throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
17
|
+
}
|
|
18
|
+
function _unsupportedIterableToArray(r, a) {
|
|
19
|
+
if (r) {
|
|
20
|
+
if ("string" == typeof r) return _arrayLikeToArray(r, a);
|
|
21
|
+
var t = {}.toString.call(r).slice(8, -1);
|
|
22
|
+
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;
|
|
28
23
|
}
|
|
29
|
-
return {
|
|
30
|
-
exports: scriptExports,
|
|
31
|
-
options
|
|
32
|
-
};
|
|
33
24
|
}
|
|
25
|
+
function _arrayLikeToArray(r, a) {
|
|
26
|
+
(null == a || a > r.length) && (a = r.length);
|
|
27
|
+
for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];
|
|
28
|
+
return n;
|
|
29
|
+
}
|
|
30
|
+
var _export_sfc = function _export_sfc2(sfc, props) {
|
|
31
|
+
var target = sfc.__vccOpts || sfc;
|
|
32
|
+
for (var _iterator = _createForOfIteratorHelperLoose(props), _step; !(_step = _iterator()).done; ) {
|
|
33
|
+
var _step$value = _step.value, key = _step$value[0], val = _step$value[1];
|
|
34
|
+
target[key] = val;
|
|
35
|
+
}
|
|
36
|
+
return target;
|
|
37
|
+
};
|
|
34
38
|
|
|
35
|
-
var
|
|
39
|
+
var _sfc_main = defineComponent({
|
|
36
40
|
name: $prefix + "TallStorage",
|
|
37
41
|
inheritAttrs: false,
|
|
38
42
|
props: {
|
|
@@ -48,48 +52,49 @@ var __vue2_script = defineComponent({
|
|
|
48
52
|
});
|
|
49
53
|
}
|
|
50
54
|
});
|
|
51
|
-
var
|
|
52
|
-
|
|
53
|
-
var _h = _vm.$createElement;
|
|
54
|
-
var _c = _vm._self._c || _h;
|
|
55
|
-
return _c("div", {
|
|
56
|
-
staticClass: "tiny-tall-storage",
|
|
57
|
-
on: {
|
|
58
|
-
"mousedown": _vm.mousedown
|
|
59
|
-
}
|
|
60
|
-
}, [_c("div", {
|
|
61
|
-
staticClass: "tiny-storage-list-style"
|
|
62
|
-
}, [_c("ul", {
|
|
63
|
-
staticClass: "tiny-storage-list",
|
|
64
|
-
on: {
|
|
65
|
-
"keydown": function keydown($event) {
|
|
66
|
-
if (!$event.type.indexOf("key") && _vm._k($event.keyCode, "enter", 13, $event.key, "Enter")) return null;
|
|
67
|
-
return _vm.keydownEvent.apply(null, arguments);
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
}, _vm._l(_vm.localstorageData, function(item) {
|
|
71
|
-
return _c("li", {
|
|
72
|
-
key: item,
|
|
73
|
-
staticClass: "tiny-storage-item",
|
|
74
|
-
class: [_vm.state.hoverValue === item ? "item-hover" : ""],
|
|
75
|
-
on: {
|
|
76
|
-
"click": function click($event) {
|
|
77
|
-
return _vm.selectItem(item);
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
}, [_vm._v(" " + _vm._s(item) + " ")]);
|
|
81
|
-
}), 0)])]);
|
|
55
|
+
var _hoisted_1 = {
|
|
56
|
+
class: "tiny-storage-list-style"
|
|
82
57
|
};
|
|
83
|
-
var
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
58
|
+
var _hoisted_2 = ["onClick"];
|
|
59
|
+
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
60
|
+
return openBlock(), createElementBlock(
|
|
61
|
+
"div",
|
|
62
|
+
{
|
|
63
|
+
class: "tiny-tall-storage",
|
|
64
|
+
onMousedown: _cache[1] || (_cache[1] = function() {
|
|
65
|
+
return _ctx.mousedown && _ctx.mousedown.apply(_ctx, arguments);
|
|
66
|
+
})
|
|
67
|
+
},
|
|
68
|
+
[createElementVNode("div", _hoisted_1, [createElementVNode(
|
|
69
|
+
"ul",
|
|
70
|
+
{
|
|
71
|
+
onKeydown: _cache[0] || (_cache[0] = withKeys(function() {
|
|
72
|
+
return _ctx.keydownEvent && _ctx.keydownEvent.apply(_ctx, arguments);
|
|
73
|
+
}, ["enter"])),
|
|
74
|
+
class: "tiny-storage-list"
|
|
75
|
+
},
|
|
76
|
+
[(openBlock(true), createElementBlock(
|
|
77
|
+
Fragment,
|
|
78
|
+
null,
|
|
79
|
+
renderList(_ctx.localstorageData, function(item) {
|
|
80
|
+
return openBlock(), createElementBlock("li", {
|
|
81
|
+
key: item,
|
|
82
|
+
class: normalizeClass(["tiny-storage-item", [_ctx.state.hoverValue === item ? "item-hover" : ""]]),
|
|
83
|
+
onClick: function onClick($event) {
|
|
84
|
+
return _ctx.selectItem(item);
|
|
85
|
+
}
|
|
86
|
+
}, toDisplayString(item), 11, _hoisted_2);
|
|
87
|
+
}),
|
|
88
|
+
128
|
|
89
|
+
/* KEYED_FRAGMENT */
|
|
90
|
+
))],
|
|
91
|
+
32
|
|
92
|
+
/* NEED_HYDRATION */
|
|
93
|
+
)])],
|
|
94
|
+
32
|
|
95
|
+
/* NEED_HYDRATION */
|
|
96
|
+
);
|
|
90
97
|
}
|
|
91
|
-
var tallStorage = /* @__PURE__ */
|
|
92
|
-
return __component__.exports;
|
|
93
|
-
}();
|
|
98
|
+
var tallStorage = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
|
|
94
99
|
|
|
95
100
|
export { tallStorage as default };
|
package/package.json
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opentinyvue/vue-input",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "
|
|
4
|
+
"version": "3.22.0",
|
|
5
5
|
"description": "",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"sideEffects": false,
|
|
8
8
|
"main": "./lib/index.js",
|
|
9
9
|
"module": "./lib/index.js",
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"@opentinyvue/vue-directive": "~
|
|
12
|
-
"@opentinyvue/vue-button": "~
|
|
13
|
-
"@opentinyvue/vue-common": "~
|
|
14
|
-
"@opentinyvue/vue-dialog-box": "~
|
|
15
|
-
"@opentinyvue/vue-icon": "~
|
|
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
16
|
"@opentinyvue/vue-renderless": "~3.22.0",
|
|
17
17
|
"@opentinyvue/vue-theme": "~3.22.0",
|
|
18
|
-
"@opentinyvue/vue-tooltip": "~
|
|
18
|
+
"@opentinyvue/vue-tooltip": "~3.22.0"
|
|
19
19
|
},
|
|
20
20
|
"types": "index.d.ts",
|
|
21
21
|
"scripts": {
|
package/src/index.d.ts
CHANGED
|
@@ -134,7 +134,7 @@ export declare const inputProps: {
|
|
|
134
134
|
default: boolean;
|
|
135
135
|
};
|
|
136
136
|
autosize: {
|
|
137
|
-
type: (
|
|
137
|
+
type: (BooleanConstructor | ObjectConstructor)[];
|
|
138
138
|
default: boolean;
|
|
139
139
|
};
|
|
140
140
|
clearable: {
|
|
@@ -213,5 +213,409 @@ export declare const inputProps: {
|
|
|
213
213
|
tiny_theme: StringConstructor;
|
|
214
214
|
tiny_chart_theme: ObjectConstructor;
|
|
215
215
|
};
|
|
216
|
-
declare const _default:
|
|
216
|
+
declare const _default: import("@vue/runtime-core").DefineComponent<{
|
|
217
|
+
_constants: {
|
|
218
|
+
type: ObjectConstructor;
|
|
219
|
+
default: () => {
|
|
220
|
+
INPUT_PC: string;
|
|
221
|
+
INPUTGROUP_PC: string;
|
|
222
|
+
INPUT_MOBILE: string;
|
|
223
|
+
INPUTGROUP_MOBILE: string;
|
|
224
|
+
Mode: string;
|
|
225
|
+
inputMode(mode: any): string;
|
|
226
|
+
inputGroupMode(mode: any): string;
|
|
227
|
+
VALIDATE_ICON: {
|
|
228
|
+
Validating: string;
|
|
229
|
+
Success: string;
|
|
230
|
+
Error: string;
|
|
231
|
+
};
|
|
232
|
+
COMPONENT_NAME: {
|
|
233
|
+
FormItem: string;
|
|
234
|
+
};
|
|
235
|
+
MASKSYMBOL: string;
|
|
236
|
+
TEXTAREA_HEIGHT_MOBILE: number;
|
|
237
|
+
};
|
|
238
|
+
};
|
|
239
|
+
name: StringConstructor;
|
|
240
|
+
size: StringConstructor;
|
|
241
|
+
form: StringConstructor;
|
|
242
|
+
label: StringConstructor;
|
|
243
|
+
height: NumberConstructor;
|
|
244
|
+
resize: StringConstructor;
|
|
245
|
+
tabindex: {
|
|
246
|
+
type: StringConstructor;
|
|
247
|
+
default: string;
|
|
248
|
+
};
|
|
249
|
+
disabled: BooleanConstructor;
|
|
250
|
+
readonly: BooleanConstructor;
|
|
251
|
+
hoverExpand: BooleanConstructor;
|
|
252
|
+
mask: BooleanConstructor;
|
|
253
|
+
suffixIcon: (StringConstructor | ObjectConstructor)[];
|
|
254
|
+
prefixIcon: (StringConstructor | ObjectConstructor)[];
|
|
255
|
+
modelValue: PropType<string | number | null>;
|
|
256
|
+
type: {
|
|
257
|
+
type: StringConstructor;
|
|
258
|
+
default: string;
|
|
259
|
+
};
|
|
260
|
+
memorySpace: {
|
|
261
|
+
type: NumberConstructor;
|
|
262
|
+
default: number;
|
|
263
|
+
};
|
|
264
|
+
vertical: {
|
|
265
|
+
type: BooleanConstructor;
|
|
266
|
+
default: boolean;
|
|
267
|
+
};
|
|
268
|
+
selectMenu: {
|
|
269
|
+
type: {
|
|
270
|
+
(arrayLength: number): {
|
|
271
|
+
id: string;
|
|
272
|
+
label: string;
|
|
273
|
+
}[];
|
|
274
|
+
(...items: {
|
|
275
|
+
id: string;
|
|
276
|
+
label: string;
|
|
277
|
+
}[]): {
|
|
278
|
+
id: string;
|
|
279
|
+
label: string;
|
|
280
|
+
}[];
|
|
281
|
+
new (arrayLength: number): {
|
|
282
|
+
id: string;
|
|
283
|
+
label: string;
|
|
284
|
+
}[];
|
|
285
|
+
new (...items: {
|
|
286
|
+
id: string;
|
|
287
|
+
label: string;
|
|
288
|
+
}[]): {
|
|
289
|
+
id: string;
|
|
290
|
+
label: string;
|
|
291
|
+
}[];
|
|
292
|
+
isArray(arg: any): arg is any[];
|
|
293
|
+
readonly prototype: any[];
|
|
294
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
295
|
+
from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
|
|
296
|
+
from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
|
|
297
|
+
from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
|
|
298
|
+
of<T_4>(...items: T_4[]): T_4[];
|
|
299
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
300
|
+
};
|
|
301
|
+
default: () => never[];
|
|
302
|
+
};
|
|
303
|
+
ellipsis: {
|
|
304
|
+
type: BooleanConstructor;
|
|
305
|
+
default: boolean;
|
|
306
|
+
};
|
|
307
|
+
contentStyle: {
|
|
308
|
+
type: ObjectConstructor;
|
|
309
|
+
default: () => {};
|
|
310
|
+
};
|
|
311
|
+
isSelect: {
|
|
312
|
+
type: BooleanConstructor;
|
|
313
|
+
default: boolean;
|
|
314
|
+
};
|
|
315
|
+
tips: StringConstructor;
|
|
316
|
+
counter: {
|
|
317
|
+
type: BooleanConstructor;
|
|
318
|
+
default: boolean;
|
|
319
|
+
};
|
|
320
|
+
autosize: {
|
|
321
|
+
type: (BooleanConstructor | ObjectConstructor)[];
|
|
322
|
+
default: boolean;
|
|
323
|
+
};
|
|
324
|
+
clearable: {
|
|
325
|
+
type: BooleanConstructor;
|
|
326
|
+
default: boolean;
|
|
327
|
+
};
|
|
328
|
+
autocomplete: {
|
|
329
|
+
type: StringConstructor;
|
|
330
|
+
default: string;
|
|
331
|
+
};
|
|
332
|
+
showPassword: {
|
|
333
|
+
type: BooleanConstructor;
|
|
334
|
+
default: boolean;
|
|
335
|
+
};
|
|
336
|
+
showWordLimit: {
|
|
337
|
+
type: BooleanConstructor;
|
|
338
|
+
default: boolean;
|
|
339
|
+
};
|
|
340
|
+
showTitle: {
|
|
341
|
+
type: BooleanConstructor;
|
|
342
|
+
default: boolean;
|
|
343
|
+
};
|
|
344
|
+
validateEvent: {
|
|
345
|
+
type: BooleanConstructor;
|
|
346
|
+
default: boolean;
|
|
347
|
+
};
|
|
348
|
+
popupMore: {
|
|
349
|
+
type: BooleanConstructor;
|
|
350
|
+
default: boolean;
|
|
351
|
+
};
|
|
352
|
+
textareaTitle: {
|
|
353
|
+
type: StringConstructor;
|
|
354
|
+
default: string;
|
|
355
|
+
};
|
|
356
|
+
displayOnly: {
|
|
357
|
+
type: BooleanConstructor;
|
|
358
|
+
default: boolean;
|
|
359
|
+
};
|
|
360
|
+
displayOnlyContent: {
|
|
361
|
+
type: StringConstructor;
|
|
362
|
+
default: string;
|
|
363
|
+
};
|
|
364
|
+
customClass: {
|
|
365
|
+
type: StringConstructor;
|
|
366
|
+
default: string;
|
|
367
|
+
};
|
|
368
|
+
frontClearIcon: {
|
|
369
|
+
type: BooleanConstructor;
|
|
370
|
+
default: boolean;
|
|
371
|
+
};
|
|
372
|
+
showEmptyValue: {
|
|
373
|
+
type: BooleanConstructor;
|
|
374
|
+
default: undefined;
|
|
375
|
+
};
|
|
376
|
+
textAlign: {
|
|
377
|
+
type: StringConstructor;
|
|
378
|
+
default: string;
|
|
379
|
+
};
|
|
380
|
+
width: {
|
|
381
|
+
type: PropType<string | number | null>;
|
|
382
|
+
};
|
|
383
|
+
showTooltip: {
|
|
384
|
+
type: BooleanConstructor;
|
|
385
|
+
default: boolean;
|
|
386
|
+
};
|
|
387
|
+
/** 输入框的边框模式,当值为underline时,只显示一条底部直线 */
|
|
388
|
+
inputBoxType: {
|
|
389
|
+
type: StringConstructor;
|
|
390
|
+
default: string;
|
|
391
|
+
validator: (value: string) => boolean;
|
|
392
|
+
};
|
|
393
|
+
tiny_mode: StringConstructor;
|
|
394
|
+
tiny_mode_root: BooleanConstructor;
|
|
395
|
+
tiny_template: (ObjectConstructor | FunctionConstructor)[];
|
|
396
|
+
tiny_renderless: FunctionConstructor;
|
|
397
|
+
tiny_theme: StringConstructor;
|
|
398
|
+
tiny_chart_theme: ObjectConstructor;
|
|
399
|
+
}, () => import("@vue/runtime-core").VNode<import("@vue/runtime-core").RendererNode, import("@vue/runtime-core").RendererElement, {
|
|
400
|
+
[key: string]: any;
|
|
401
|
+
}>, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{
|
|
402
|
+
_constants: {
|
|
403
|
+
type: ObjectConstructor;
|
|
404
|
+
default: () => {
|
|
405
|
+
INPUT_PC: string;
|
|
406
|
+
INPUTGROUP_PC: string;
|
|
407
|
+
INPUT_MOBILE: string;
|
|
408
|
+
INPUTGROUP_MOBILE: string;
|
|
409
|
+
Mode: string;
|
|
410
|
+
inputMode(mode: any): string;
|
|
411
|
+
inputGroupMode(mode: any): string;
|
|
412
|
+
VALIDATE_ICON: {
|
|
413
|
+
Validating: string;
|
|
414
|
+
Success: string;
|
|
415
|
+
Error: string;
|
|
416
|
+
};
|
|
417
|
+
COMPONENT_NAME: {
|
|
418
|
+
FormItem: string;
|
|
419
|
+
};
|
|
420
|
+
MASKSYMBOL: string;
|
|
421
|
+
TEXTAREA_HEIGHT_MOBILE: number;
|
|
422
|
+
};
|
|
423
|
+
};
|
|
424
|
+
name: StringConstructor;
|
|
425
|
+
size: StringConstructor;
|
|
426
|
+
form: StringConstructor;
|
|
427
|
+
label: StringConstructor;
|
|
428
|
+
height: NumberConstructor;
|
|
429
|
+
resize: StringConstructor;
|
|
430
|
+
tabindex: {
|
|
431
|
+
type: StringConstructor;
|
|
432
|
+
default: string;
|
|
433
|
+
};
|
|
434
|
+
disabled: BooleanConstructor;
|
|
435
|
+
readonly: BooleanConstructor;
|
|
436
|
+
hoverExpand: BooleanConstructor;
|
|
437
|
+
mask: BooleanConstructor;
|
|
438
|
+
suffixIcon: (StringConstructor | ObjectConstructor)[];
|
|
439
|
+
prefixIcon: (StringConstructor | ObjectConstructor)[];
|
|
440
|
+
modelValue: PropType<string | number | null>;
|
|
441
|
+
type: {
|
|
442
|
+
type: StringConstructor;
|
|
443
|
+
default: string;
|
|
444
|
+
};
|
|
445
|
+
memorySpace: {
|
|
446
|
+
type: NumberConstructor;
|
|
447
|
+
default: number;
|
|
448
|
+
};
|
|
449
|
+
vertical: {
|
|
450
|
+
type: BooleanConstructor;
|
|
451
|
+
default: boolean;
|
|
452
|
+
};
|
|
453
|
+
selectMenu: {
|
|
454
|
+
type: {
|
|
455
|
+
(arrayLength: number): {
|
|
456
|
+
id: string;
|
|
457
|
+
label: string;
|
|
458
|
+
}[];
|
|
459
|
+
(...items: {
|
|
460
|
+
id: string;
|
|
461
|
+
label: string;
|
|
462
|
+
}[]): {
|
|
463
|
+
id: string;
|
|
464
|
+
label: string;
|
|
465
|
+
}[];
|
|
466
|
+
new (arrayLength: number): {
|
|
467
|
+
id: string;
|
|
468
|
+
label: string;
|
|
469
|
+
}[];
|
|
470
|
+
new (...items: {
|
|
471
|
+
id: string;
|
|
472
|
+
label: string;
|
|
473
|
+
}[]): {
|
|
474
|
+
id: string;
|
|
475
|
+
label: string;
|
|
476
|
+
}[];
|
|
477
|
+
isArray(arg: any): arg is any[];
|
|
478
|
+
readonly prototype: any[];
|
|
479
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
480
|
+
from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
|
|
481
|
+
from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
|
|
482
|
+
from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
|
|
483
|
+
of<T_4>(...items: T_4[]): T_4[];
|
|
484
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
485
|
+
};
|
|
486
|
+
default: () => never[];
|
|
487
|
+
};
|
|
488
|
+
ellipsis: {
|
|
489
|
+
type: BooleanConstructor;
|
|
490
|
+
default: boolean;
|
|
491
|
+
};
|
|
492
|
+
contentStyle: {
|
|
493
|
+
type: ObjectConstructor;
|
|
494
|
+
default: () => {};
|
|
495
|
+
};
|
|
496
|
+
isSelect: {
|
|
497
|
+
type: BooleanConstructor;
|
|
498
|
+
default: boolean;
|
|
499
|
+
};
|
|
500
|
+
tips: StringConstructor;
|
|
501
|
+
counter: {
|
|
502
|
+
type: BooleanConstructor;
|
|
503
|
+
default: boolean;
|
|
504
|
+
};
|
|
505
|
+
autosize: {
|
|
506
|
+
type: (BooleanConstructor | ObjectConstructor)[];
|
|
507
|
+
default: boolean;
|
|
508
|
+
};
|
|
509
|
+
clearable: {
|
|
510
|
+
type: BooleanConstructor;
|
|
511
|
+
default: boolean;
|
|
512
|
+
};
|
|
513
|
+
autocomplete: {
|
|
514
|
+
type: StringConstructor;
|
|
515
|
+
default: string;
|
|
516
|
+
};
|
|
517
|
+
showPassword: {
|
|
518
|
+
type: BooleanConstructor;
|
|
519
|
+
default: boolean;
|
|
520
|
+
};
|
|
521
|
+
showWordLimit: {
|
|
522
|
+
type: BooleanConstructor;
|
|
523
|
+
default: boolean;
|
|
524
|
+
};
|
|
525
|
+
showTitle: {
|
|
526
|
+
type: BooleanConstructor;
|
|
527
|
+
default: boolean;
|
|
528
|
+
};
|
|
529
|
+
validateEvent: {
|
|
530
|
+
type: BooleanConstructor;
|
|
531
|
+
default: boolean;
|
|
532
|
+
};
|
|
533
|
+
popupMore: {
|
|
534
|
+
type: BooleanConstructor;
|
|
535
|
+
default: boolean;
|
|
536
|
+
};
|
|
537
|
+
textareaTitle: {
|
|
538
|
+
type: StringConstructor;
|
|
539
|
+
default: string;
|
|
540
|
+
};
|
|
541
|
+
displayOnly: {
|
|
542
|
+
type: BooleanConstructor;
|
|
543
|
+
default: boolean;
|
|
544
|
+
};
|
|
545
|
+
displayOnlyContent: {
|
|
546
|
+
type: StringConstructor;
|
|
547
|
+
default: string;
|
|
548
|
+
};
|
|
549
|
+
customClass: {
|
|
550
|
+
type: StringConstructor;
|
|
551
|
+
default: string;
|
|
552
|
+
};
|
|
553
|
+
frontClearIcon: {
|
|
554
|
+
type: BooleanConstructor;
|
|
555
|
+
default: boolean;
|
|
556
|
+
};
|
|
557
|
+
showEmptyValue: {
|
|
558
|
+
type: BooleanConstructor;
|
|
559
|
+
default: undefined;
|
|
560
|
+
};
|
|
561
|
+
textAlign: {
|
|
562
|
+
type: StringConstructor;
|
|
563
|
+
default: string;
|
|
564
|
+
};
|
|
565
|
+
width: {
|
|
566
|
+
type: PropType<string | number | null>;
|
|
567
|
+
};
|
|
568
|
+
showTooltip: {
|
|
569
|
+
type: BooleanConstructor;
|
|
570
|
+
default: boolean;
|
|
571
|
+
};
|
|
572
|
+
/** 输入框的边框模式,当值为underline时,只显示一条底部直线 */
|
|
573
|
+
inputBoxType: {
|
|
574
|
+
type: StringConstructor;
|
|
575
|
+
default: string;
|
|
576
|
+
validator: (value: string) => boolean;
|
|
577
|
+
};
|
|
578
|
+
tiny_mode: StringConstructor;
|
|
579
|
+
tiny_mode_root: BooleanConstructor;
|
|
580
|
+
tiny_template: (ObjectConstructor | FunctionConstructor)[];
|
|
581
|
+
tiny_renderless: FunctionConstructor;
|
|
582
|
+
tiny_theme: StringConstructor;
|
|
583
|
+
tiny_chart_theme: ObjectConstructor;
|
|
584
|
+
}>>, {
|
|
585
|
+
disabled: boolean;
|
|
586
|
+
type: string;
|
|
587
|
+
ellipsis: boolean;
|
|
588
|
+
mask: boolean;
|
|
589
|
+
vertical: boolean;
|
|
590
|
+
customClass: string;
|
|
591
|
+
tiny_mode_root: boolean;
|
|
592
|
+
_constants: Record<string, any>;
|
|
593
|
+
tabindex: string;
|
|
594
|
+
showTitle: boolean;
|
|
595
|
+
readonly: boolean;
|
|
596
|
+
hoverExpand: boolean;
|
|
597
|
+
memorySpace: number;
|
|
598
|
+
selectMenu: {
|
|
599
|
+
id: string;
|
|
600
|
+
label: string;
|
|
601
|
+
}[];
|
|
602
|
+
contentStyle: Record<string, any>;
|
|
603
|
+
isSelect: boolean;
|
|
604
|
+
counter: boolean;
|
|
605
|
+
autosize: boolean | Record<string, any>;
|
|
606
|
+
clearable: boolean;
|
|
607
|
+
autocomplete: string;
|
|
608
|
+
showPassword: boolean;
|
|
609
|
+
showWordLimit: boolean;
|
|
610
|
+
validateEvent: boolean;
|
|
611
|
+
popupMore: boolean;
|
|
612
|
+
textareaTitle: string;
|
|
613
|
+
displayOnly: boolean;
|
|
614
|
+
displayOnlyContent: string;
|
|
615
|
+
frontClearIcon: boolean;
|
|
616
|
+
showEmptyValue: boolean;
|
|
617
|
+
textAlign: string;
|
|
618
|
+
showTooltip: boolean;
|
|
619
|
+
inputBoxType: string;
|
|
620
|
+
}, {}>;
|
|
217
621
|
export default _default;
|