@varlet/ui 3.11.3 → 3.11.5-alpha.1757669330360
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/es/date-picker/src/day-picker-panel.mjs +2 -3
- package/es/date-picker/src/month-picker-panel.mjs +2 -3
- package/es/date-picker/src/year-picker-panel.mjs +2 -3
- package/es/index.bundle.mjs +1 -1
- package/es/index.mjs +1 -1
- package/es/input/Input.mjs +3 -3
- package/es/input/props.mjs +5 -0
- package/es/loading/Loading.mjs +3 -3
- package/es/result/Empty.mjs +3 -3
- package/es/result/Error.mjs +3 -3
- package/es/result/Info.mjs +3 -3
- package/es/result/Question.mjs +3 -3
- package/es/result/Warning.mjs +3 -3
- package/es/switch/Switch.mjs +3 -3
- package/es/varlet.css +1 -1
- package/es/varlet.esm.js +1423 -1421
- package/highlight/web-types.en-US.json +19 -1
- package/highlight/web-types.zh-CN.json +19 -1
- package/lib/varlet.cjs.js +49 -47
- package/package.json +13 -13
- package/types/input.d.ts +2 -0
- package/umd/varlet.js +6 -6
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
|
|
3
3
|
"framework": "vue",
|
|
4
|
-
"version": "3.11.
|
|
4
|
+
"version": "3.11.5-alpha.1757669330360",
|
|
5
5
|
"name": "VARLET",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
|
@@ -4482,6 +4482,24 @@
|
|
|
4482
4482
|
"type": "string",
|
|
4483
4483
|
"kind": "expression"
|
|
4484
4484
|
}
|
|
4485
|
+
},
|
|
4486
|
+
{
|
|
4487
|
+
"name": "prevent-auto-fill",
|
|
4488
|
+
"description": "Prevent browser autofill behavior",
|
|
4489
|
+
"default": "true",
|
|
4490
|
+
"value": {
|
|
4491
|
+
"type": "boolean",
|
|
4492
|
+
"kind": "expression"
|
|
4493
|
+
}
|
|
4494
|
+
},
|
|
4495
|
+
{
|
|
4496
|
+
"name": "inputmode",
|
|
4497
|
+
"description": "Consistent with the inputmode property of native input",
|
|
4498
|
+
"default": "-",
|
|
4499
|
+
"value": {
|
|
4500
|
+
"type": "string",
|
|
4501
|
+
"kind": "expression"
|
|
4502
|
+
}
|
|
4485
4503
|
}
|
|
4486
4504
|
],
|
|
4487
4505
|
"events": [
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
|
|
3
3
|
"framework": "vue",
|
|
4
|
-
"version": "3.11.
|
|
4
|
+
"version": "3.11.5-alpha.1757669330360",
|
|
5
5
|
"name": "VARLET",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
|
@@ -4533,6 +4533,24 @@
|
|
|
4533
4533
|
"type": "string",
|
|
4534
4534
|
"kind": "expression"
|
|
4535
4535
|
}
|
|
4536
|
+
},
|
|
4537
|
+
{
|
|
4538
|
+
"name": "prevent-auto-fill",
|
|
4539
|
+
"description": "阻止浏览器的自动填充行为",
|
|
4540
|
+
"default": "true",
|
|
4541
|
+
"value": {
|
|
4542
|
+
"type": "boolean",
|
|
4543
|
+
"kind": "expression"
|
|
4544
|
+
}
|
|
4545
|
+
},
|
|
4546
|
+
{
|
|
4547
|
+
"name": "inputmode",
|
|
4548
|
+
"description": "与原生 input 的 inputmode 属性一致",
|
|
4549
|
+
"default": "-",
|
|
4550
|
+
"value": {
|
|
4551
|
+
"type": "string",
|
|
4552
|
+
"kind": "expression"
|
|
4553
|
+
}
|
|
4536
4554
|
}
|
|
4537
4555
|
],
|
|
4538
4556
|
"events": [
|
package/lib/varlet.cjs.js
CHANGED
|
@@ -4730,6 +4730,11 @@ const props$1e = __spreadProps$a(__spreadValues$s({
|
|
|
4730
4730
|
},
|
|
4731
4731
|
rules: [Array, Function, Object],
|
|
4732
4732
|
enterkeyhint: String,
|
|
4733
|
+
preventAutoFill: {
|
|
4734
|
+
type: Boolean,
|
|
4735
|
+
default: true
|
|
4736
|
+
},
|
|
4737
|
+
inputmode: String,
|
|
4733
4738
|
onFocus: defineListenerProp(),
|
|
4734
4739
|
onBlur: defineListenerProp(),
|
|
4735
4740
|
onInput: defineListenerProp(),
|
|
@@ -4812,7 +4817,7 @@ function __render__$1l(_ctx, _cache) {
|
|
|
4812
4817
|
vue.renderSlot(_ctx.$slots, "append-icon")
|
|
4813
4818
|
]),
|
|
4814
4819
|
default: vue.withCtx(() => [
|
|
4815
|
-
_ctx.normalizedType === "password" ? (vue.openBlock(), vue.createElementBlock("input", {
|
|
4820
|
+
_ctx.normalizedType === "password" && _ctx.preventAutoFill ? (vue.openBlock(), vue.createElementBlock("input", {
|
|
4816
4821
|
key: 0,
|
|
4817
4822
|
tabindex: "-1",
|
|
4818
4823
|
"aria-label": _ctx.ariaLabel,
|
|
@@ -4846,7 +4851,7 @@ function __render__$1l(_ctx, _cache) {
|
|
|
4846
4851
|
maxlength: _ctx.maxlength,
|
|
4847
4852
|
rows: _ctx.rows,
|
|
4848
4853
|
enterkeyhint: _ctx.enterkeyhint,
|
|
4849
|
-
inputmode: _ctx.type === "number" ? "decimal" : void 0,
|
|
4854
|
+
inputmode: _ctx.inputmode != null ? _ctx.inputmode : _ctx.type === "number" ? "decimal" : void 0,
|
|
4850
4855
|
style: vue.normalizeStyle({
|
|
4851
4856
|
color: !_ctx.errorMessage ? _ctx.textColor : void 0,
|
|
4852
4857
|
caretColor: !_ctx.errorMessage ? _ctx.focusColor : void 0,
|
|
@@ -4880,7 +4885,7 @@ function __render__$1l(_ctx, _cache) {
|
|
|
4880
4885
|
placeholder: !_ctx.hint ? _ctx.placeholder : void 0,
|
|
4881
4886
|
maxlength: _ctx.maxlength,
|
|
4882
4887
|
enterkeyhint: _ctx.enterkeyhint,
|
|
4883
|
-
inputmode: _ctx.type === "number" ? "decimal" : void 0,
|
|
4888
|
+
inputmode: _ctx.inputmode != null ? _ctx.inputmode : _ctx.type === "number" ? "decimal" : void 0,
|
|
4884
4889
|
style: vue.normalizeStyle({
|
|
4885
4890
|
color: !_ctx.errorMessage ? _ctx.textColor : void 0,
|
|
4886
4891
|
caretColor: !_ctx.errorMessage ? _ctx.focusColor : void 0,
|
|
@@ -9190,7 +9195,7 @@ function __render__$1c(_ctx, _cache) {
|
|
|
9190
9195
|
color: _ctx.color
|
|
9191
9196
|
})
|
|
9192
9197
|
},
|
|
9193
|
-
_cache[0] || (_cache[0] = [
|
|
9198
|
+
[..._cache[0] || (_cache[0] = [
|
|
9194
9199
|
vue.createElementVNode(
|
|
9195
9200
|
"svg",
|
|
9196
9201
|
{ viewBox: "25 25 50 50" },
|
|
@@ -9203,9 +9208,9 @@ function __render__$1c(_ctx, _cache) {
|
|
|
9203
9208
|
})
|
|
9204
9209
|
],
|
|
9205
9210
|
-1
|
|
9206
|
-
/*
|
|
9211
|
+
/* CACHED */
|
|
9207
9212
|
)
|
|
9208
|
-
]),
|
|
9213
|
+
])],
|
|
9209
9214
|
6
|
|
9210
9215
|
/* CLASS, STYLE */
|
|
9211
9216
|
)
|
|
@@ -12247,7 +12252,7 @@ var EXP_LIMIT = 9e15, MAX_DIGITS = 1e9, NUMERALS = "0123456789abcdef", LN10 = "2
|
|
|
12247
12252
|
// 0 to EXP_LIMIT
|
|
12248
12253
|
// The minimum exponent value, beneath which underflow to zero occurs.
|
|
12249
12254
|
// JavaScript numbers: -324 (5e-324)
|
|
12250
|
-
minE: -
|
|
12255
|
+
minE: -EXP_LIMIT,
|
|
12251
12256
|
// -1 to -EXP_LIMIT
|
|
12252
12257
|
// The maximum exponent value, above which overflow to Infinity occurs.
|
|
12253
12258
|
// JavaScript numbers: 308 (1.7976931348623157e+308)
|
|
@@ -13228,7 +13233,7 @@ function cosine(Ctor, x) {
|
|
|
13228
13233
|
Ctor.precision -= k;
|
|
13229
13234
|
return x;
|
|
13230
13235
|
}
|
|
13231
|
-
var divide = /* @__PURE__ */ function() {
|
|
13236
|
+
var divide = /* @__PURE__ */ (function() {
|
|
13232
13237
|
function multiplyInteger(x, k, base) {
|
|
13233
13238
|
var temp, carry = 0, i = x.length;
|
|
13234
13239
|
for (x = x.slice(); i--; ) {
|
|
@@ -13386,7 +13391,7 @@ var divide = /* @__PURE__ */ function() {
|
|
|
13386
13391
|
}
|
|
13387
13392
|
return q;
|
|
13388
13393
|
};
|
|
13389
|
-
}();
|
|
13394
|
+
})();
|
|
13390
13395
|
function finalise(x, sd, rm, isTruncated) {
|
|
13391
13396
|
var digits, i, j, k, rd, roundUp, w, xd, xdi, Ctor = x.constructor;
|
|
13392
13397
|
out: if (sd != null) {
|
|
@@ -14001,7 +14006,7 @@ function config(obj) {
|
|
|
14001
14006
|
0,
|
|
14002
14007
|
8,
|
|
14003
14008
|
"toExpNeg",
|
|
14004
|
-
-
|
|
14009
|
+
-EXP_LIMIT,
|
|
14005
14010
|
0,
|
|
14006
14011
|
"toExpPos",
|
|
14007
14012
|
0,
|
|
@@ -14010,7 +14015,7 @@ function config(obj) {
|
|
|
14010
14015
|
0,
|
|
14011
14016
|
EXP_LIMIT,
|
|
14012
14017
|
"minE",
|
|
14013
|
-
-
|
|
14018
|
+
-EXP_LIMIT,
|
|
14014
14019
|
0,
|
|
14015
14020
|
"modulo",
|
|
14016
14021
|
0,
|
|
@@ -14855,7 +14860,7 @@ var parseDate = function parseDate2(cfg) {
|
|
|
14855
14860
|
}
|
|
14856
14861
|
return new Date(date);
|
|
14857
14862
|
};
|
|
14858
|
-
var Dayjs = /* @__PURE__ */ function() {
|
|
14863
|
+
var Dayjs = /* @__PURE__ */ (function() {
|
|
14859
14864
|
function Dayjs2(cfg) {
|
|
14860
14865
|
this.$L = parseLocale(cfg.locale, null, true);
|
|
14861
14866
|
this.parse(cfg);
|
|
@@ -15087,7 +15092,7 @@ var Dayjs = /* @__PURE__ */ function() {
|
|
|
15087
15092
|
return this.$d.toUTCString();
|
|
15088
15093
|
};
|
|
15089
15094
|
return Dayjs2;
|
|
15090
|
-
}();
|
|
15095
|
+
})();
|
|
15091
15096
|
var proto = Dayjs.prototype;
|
|
15092
15097
|
dayjs.prototype = proto;
|
|
15093
15098
|
[["$ms", MS], ["$s", S], ["$m", MIN$1], ["$H", H], ["$W", D], ["$M", M], ["$y", Y], ["$D", DATE]].forEach(function(g) {
|
|
@@ -15151,16 +15156,16 @@ const props$N = {
|
|
|
15151
15156
|
onChange: defineListenerProp(),
|
|
15152
15157
|
"onUpdate:modelValue": defineListenerProp()
|
|
15153
15158
|
};
|
|
15154
|
-
const isSameOrAfter = function(o, c) {
|
|
15159
|
+
const isSameOrAfter = (function(o, c) {
|
|
15155
15160
|
c.prototype.isSameOrAfter = function(that, units) {
|
|
15156
15161
|
return this.isSame(that, units) || this.isAfter(that, units);
|
|
15157
15162
|
};
|
|
15158
|
-
};
|
|
15159
|
-
const isSameOrBefore = function(o, c) {
|
|
15163
|
+
});
|
|
15164
|
+
const isSameOrBefore = (function(o, c) {
|
|
15160
15165
|
c.prototype.isSameOrBefore = function(that, units) {
|
|
15161
15166
|
return this.isSame(that, units) || this.isBefore(that, units);
|
|
15162
15167
|
};
|
|
15163
|
-
};
|
|
15168
|
+
});
|
|
15164
15169
|
const { n: n$V } = createNamespace("date-picker-header");
|
|
15165
15170
|
function __render__$T(_ctx, _cache) {
|
|
15166
15171
|
const _component_var_icon = vue.resolveComponent("var-icon");
|
|
@@ -15381,9 +15386,8 @@ function __render__$S(_ctx, _cache) {
|
|
|
15381
15386
|
"var-day-picker-cover": "",
|
|
15382
15387
|
round: "",
|
|
15383
15388
|
ripple: false,
|
|
15384
|
-
elevation: _ctx.componentProps.buttonElevation
|
|
15385
|
-
|
|
15386
|
-
}, __spreadValues$i({}, _ctx.buttonProps(day)), {
|
|
15389
|
+
elevation: _ctx.componentProps.buttonElevation
|
|
15390
|
+
}, { ref_for: true }, __spreadValues$i({}, _ctx.buttonProps(day)), {
|
|
15387
15391
|
onClick: (event) => _ctx.chooseDay(day, event)
|
|
15388
15392
|
}), {
|
|
15389
15393
|
default: vue.withCtx(() => [
|
|
@@ -15713,9 +15717,8 @@ function __render__$R(_ctx, _cache) {
|
|
|
15713
15717
|
type: "primary",
|
|
15714
15718
|
"var-month-picker-cover": "",
|
|
15715
15719
|
ripple: false,
|
|
15716
|
-
elevation: _ctx.componentProps.buttonElevation
|
|
15717
|
-
|
|
15718
|
-
}, __spreadValues$h({}, _ctx.buttonProps(month)), {
|
|
15720
|
+
elevation: _ctx.componentProps.buttonElevation
|
|
15721
|
+
}, { ref_for: true }, __spreadValues$h({}, _ctx.buttonProps(month)), {
|
|
15719
15722
|
onClick: (event) => _ctx.chooseMonth(month, event)
|
|
15720
15723
|
}), {
|
|
15721
15724
|
default: vue.withCtx(() => [
|
|
@@ -16186,9 +16189,8 @@ function __render__$P(_ctx, _cache) {
|
|
|
16186
16189
|
type: "primary",
|
|
16187
16190
|
"var-year-picker-cover": "",
|
|
16188
16191
|
ripple: false,
|
|
16189
|
-
elevation: _ctx.componentProps.buttonElevation
|
|
16190
|
-
|
|
16191
|
-
}, __spreadValues$g({}, _ctx.buttonProps(`${year}`)), {
|
|
16192
|
+
elevation: _ctx.componentProps.buttonElevation
|
|
16193
|
+
}, { ref_for: true }, __spreadValues$g({}, _ctx.buttonProps(`${year}`)), {
|
|
16192
16194
|
onClick: (event) => _ctx.chooseYear(year, event)
|
|
16193
16195
|
}), {
|
|
16194
16196
|
default: vue.withCtx(() => [
|
|
@@ -22456,11 +22458,11 @@ const __sfc__$v = vue.defineComponent({
|
|
|
22456
22458
|
const strokeOffset = `${(MAX - roundValue) / MAX * CIRCUMFERENCE}`;
|
|
22457
22459
|
const strokeWidth = toPxNum(lineWidth) / toPxNum(size) * diameter;
|
|
22458
22460
|
const beginPositionX = 0;
|
|
22459
|
-
const beginPositionY = -
|
|
22461
|
+
const beginPositionY = -RADIUS;
|
|
22460
22462
|
const endPositionX = 0;
|
|
22461
22463
|
const endPositionY = -2 * RADIUS;
|
|
22462
22464
|
const path = `M ${diameter / 2} ${diameter / 2} m ${beginPositionX} ${beginPositionY} a ${RADIUS} ${RADIUS}
|
|
22463
|
-
0 1 1 ${endPositionX} ${
|
|
22465
|
+
0 1 1 ${endPositionX} ${-endPositionY} a ${RADIUS} ${RADIUS} 0 1 1 ${-endPositionX} ${endPositionY}`;
|
|
22464
22466
|
return {
|
|
22465
22467
|
strokeWidth,
|
|
22466
22468
|
viewBox,
|
|
@@ -23464,7 +23466,7 @@ const props$j = {
|
|
|
23464
23466
|
};
|
|
23465
23467
|
const _hoisted_1$b = { viewBox: "-4 -4 32 32" };
|
|
23466
23468
|
function __render__$p(_ctx, _cache) {
|
|
23467
|
-
return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$b, _cache[0] || (_cache[0] = [
|
|
23469
|
+
return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$b, [..._cache[0] || (_cache[0] = [
|
|
23468
23470
|
vue.createElementVNode(
|
|
23469
23471
|
"path",
|
|
23470
23472
|
{
|
|
@@ -23473,9 +23475,9 @@ function __render__$p(_ctx, _cache) {
|
|
|
23473
23475
|
},
|
|
23474
23476
|
null,
|
|
23475
23477
|
-1
|
|
23476
|
-
/*
|
|
23478
|
+
/* CACHED */
|
|
23477
23479
|
)
|
|
23478
|
-
]));
|
|
23480
|
+
])]);
|
|
23479
23481
|
}
|
|
23480
23482
|
const __sfc__$q = vue.defineComponent({});
|
|
23481
23483
|
__sfc__$q.render = __render__$p;
|
|
@@ -23485,15 +23487,15 @@ const _hoisted_1$a = {
|
|
|
23485
23487
|
viewBox: "2 2 20 20"
|
|
23486
23488
|
};
|
|
23487
23489
|
function __render__$o(_ctx, _cache) {
|
|
23488
|
-
return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$a, _cache[0] || (_cache[0] = [
|
|
23490
|
+
return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$a, [..._cache[0] || (_cache[0] = [
|
|
23489
23491
|
vue.createElementVNode(
|
|
23490
23492
|
"path",
|
|
23491
23493
|
{ d: "M19,3V5H19V19M17,8.4L13.4,12L17,15.6L15.6,17L12,13.4L8.4,17L7,15.6L10.6,12L7,8.4L8.4,7L12,10.6L15.6,7L17,8.4Z" },
|
|
23492
23494
|
null,
|
|
23493
23495
|
-1
|
|
23494
|
-
/*
|
|
23496
|
+
/* CACHED */
|
|
23495
23497
|
)
|
|
23496
|
-
]));
|
|
23498
|
+
])]);
|
|
23497
23499
|
}
|
|
23498
23500
|
const __sfc__$p = vue.defineComponent({});
|
|
23499
23501
|
__sfc__$p.render = __render__$o;
|
|
@@ -23503,15 +23505,15 @@ const _hoisted_1$9 = {
|
|
|
23503
23505
|
viewBox: "2 3.6 20 20"
|
|
23504
23506
|
};
|
|
23505
23507
|
function __render__$n(_ctx, _cache) {
|
|
23506
|
-
return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$9, _cache[0] || (_cache[0] = [
|
|
23508
|
+
return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$9, [..._cache[0] || (_cache[0] = [
|
|
23507
23509
|
vue.createElementVNode(
|
|
23508
23510
|
"path",
|
|
23509
23511
|
{ d: "M11,9H13V7H11M11,20H13V11H11V20Z" },
|
|
23510
23512
|
null,
|
|
23511
23513
|
-1
|
|
23512
|
-
/*
|
|
23514
|
+
/* CACHED */
|
|
23513
23515
|
)
|
|
23514
|
-
]));
|
|
23516
|
+
])]);
|
|
23515
23517
|
}
|
|
23516
23518
|
const __sfc__$o = vue.defineComponent({});
|
|
23517
23519
|
__sfc__$o.render = __render__$n;
|
|
@@ -23521,15 +23523,15 @@ const _hoisted_1$8 = {
|
|
|
23521
23523
|
viewBox: "-3 -3 30 30"
|
|
23522
23524
|
};
|
|
23523
23525
|
function __render__$m(_ctx, _cache) {
|
|
23524
|
-
return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$8, _cache[0] || (_cache[0] = [
|
|
23526
|
+
return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$8, [..._cache[0] || (_cache[0] = [
|
|
23525
23527
|
vue.createElementVNode(
|
|
23526
23528
|
"path",
|
|
23527
23529
|
{ d: "M10,19H13V22H10V19M12,2C17.35,2.22 19.68,7.62 16.5,11.67C15.67,12.67 14.33,13.33 13.67,14.17C13,15 13,16 13,17H10C10,15.33 10,13.92 10.67,12.92C11.33,11.92 12.67,11.33 13.5,10.67C15.92,8.43 15.32,5.26 12,5A3,3 0 0,0 9,8H6A6,6 0 0,1 12,2Z" },
|
|
23528
23530
|
null,
|
|
23529
23531
|
-1
|
|
23530
|
-
/*
|
|
23532
|
+
/* CACHED */
|
|
23531
23533
|
)
|
|
23532
|
-
]));
|
|
23534
|
+
])]);
|
|
23533
23535
|
}
|
|
23534
23536
|
const __sfc__$n = vue.defineComponent({});
|
|
23535
23537
|
__sfc__$n.render = __render__$m;
|
|
@@ -23635,15 +23637,15 @@ const _hoisted_1$7 = {
|
|
|
23635
23637
|
viewBox: "-6 -4 35 35"
|
|
23636
23638
|
};
|
|
23637
23639
|
function __render__$k(_ctx, _cache) {
|
|
23638
|
-
return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$7, _cache[0] || (_cache[0] = [
|
|
23640
|
+
return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$7, [..._cache[0] || (_cache[0] = [
|
|
23639
23641
|
vue.createElementVNode(
|
|
23640
23642
|
"path",
|
|
23641
23643
|
{ d: "M10,21H14A2,2 0 0,1 12,23A2,2 0 0,1 10,21M21,19V20H3V19L5,17V11C5,7.9 7.03,5.17 10,4.29C10,4.19 10,4.1 10,4A2,2 0 0,1 12,2A2,2 0 0,1 14,4C14,4.1 14,4.19 14,4.29C16.97,5.17 19,7.9 19,11V17L21,19M17,11A5,5 0 0,0 12,6A5,5 0 0,0 7,11V18H17V11M19.75,3.19L18.33,4.61M1,11" },
|
|
23642
23644
|
null,
|
|
23643
23645
|
-1
|
|
23644
|
-
/*
|
|
23646
|
+
/* CACHED */
|
|
23645
23647
|
)
|
|
23646
|
-
]));
|
|
23648
|
+
])]);
|
|
23647
23649
|
}
|
|
23648
23650
|
const __sfc__$l = vue.defineComponent({});
|
|
23649
23651
|
__sfc__$l.render = __render__$k;
|
|
@@ -26330,7 +26332,7 @@ function __render__$9(_ctx, _cache) {
|
|
|
26330
26332
|
height: _ctx.radius
|
|
26331
26333
|
})
|
|
26332
26334
|
},
|
|
26333
|
-
_cache[3] || (_cache[3] = [
|
|
26335
|
+
[..._cache[3] || (_cache[3] = [
|
|
26334
26336
|
vue.createElementVNode(
|
|
26335
26337
|
"svg",
|
|
26336
26338
|
{ viewBox: "25 25 50 50" },
|
|
@@ -26343,9 +26345,9 @@ function __render__$9(_ctx, _cache) {
|
|
|
26343
26345
|
})
|
|
26344
26346
|
],
|
|
26345
26347
|
-1
|
|
26346
|
-
/*
|
|
26348
|
+
/* CACHED */
|
|
26347
26349
|
)
|
|
26348
|
-
]),
|
|
26350
|
+
])],
|
|
26349
26351
|
6
|
|
26350
26352
|
/* CLASS, STYLE */
|
|
26351
26353
|
)) : vue.createCommentVNode("v-if", true)
|
|
@@ -32026,7 +32028,7 @@ withInstall(stdin_default$1);
|
|
|
32026
32028
|
withPropsDefaultsSetter(stdin_default$1, props);
|
|
32027
32029
|
const _WatermarkComponent = stdin_default$1;
|
|
32028
32030
|
var stdin_default = stdin_default$1;
|
|
32029
|
-
const version = "3.11.
|
|
32031
|
+
const version = "3.11.5-alpha.1757669330360";
|
|
32030
32032
|
function install(app) {
|
|
32031
32033
|
stdin_default$60.install && app.use(stdin_default$60);
|
|
32032
32034
|
stdin_default$5_.install && app.use(stdin_default$5_);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@varlet/ui",
|
|
3
|
-
"version": "3.11.
|
|
3
|
+
"version": "3.11.5-alpha.1757669330360",
|
|
4
4
|
"description": "A Vue3 component library based on Material Design 2 and 3, supporting mobile and desktop.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Vue3",
|
|
@@ -44,27 +44,27 @@
|
|
|
44
44
|
"@popperjs/core": "^2.11.6",
|
|
45
45
|
"dayjs": "^1.10.4",
|
|
46
46
|
"decimal.js": "^10.2.1",
|
|
47
|
-
"@varlet/
|
|
48
|
-
"@varlet/use": "3.11.
|
|
49
|
-
"@varlet/
|
|
47
|
+
"@varlet/icons": "3.11.5-alpha.1757669330360",
|
|
48
|
+
"@varlet/use": "3.11.5-alpha.1757669330360",
|
|
49
|
+
"@varlet/shared": "3.11.5-alpha.1757669330360"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
52
|
"@types/node": "^18.7.20",
|
|
53
|
-
"@vitest/coverage-istanbul": "3.
|
|
54
|
-
"@vue/runtime-core": "3.5.
|
|
53
|
+
"@vitest/coverage-istanbul": "3.2.4",
|
|
54
|
+
"@vue/runtime-core": "3.5.21",
|
|
55
55
|
"@vue/test-utils": "2.4.6",
|
|
56
56
|
"clipboard": "^2.0.6",
|
|
57
|
-
"jsdom": "
|
|
57
|
+
"jsdom": "26.1.0",
|
|
58
58
|
"live-server": "^1.2.1",
|
|
59
59
|
"shiki": "^1.21.0",
|
|
60
60
|
"typescript": "5.3.3",
|
|
61
|
-
"vitest": "3.
|
|
62
|
-
"vue": "3.5.
|
|
63
|
-
"vue-router": "4.5.
|
|
61
|
+
"vitest": "3.2.4",
|
|
62
|
+
"vue": "3.5.21",
|
|
63
|
+
"vue-router": "4.5.1",
|
|
64
64
|
"zod": "^3.23.8",
|
|
65
|
-
"@varlet/
|
|
66
|
-
"@varlet/
|
|
67
|
-
"@varlet/
|
|
65
|
+
"@varlet/touch-emulator": "3.11.5-alpha.1757669330360",
|
|
66
|
+
"@varlet/ui": "3.11.5-alpha.1757669330360",
|
|
67
|
+
"@varlet/cli": "3.11.5-alpha.1757669330360"
|
|
68
68
|
},
|
|
69
69
|
"peerDependencies": {
|
|
70
70
|
"vue": "^3.2.0"
|
package/types/input.d.ts
CHANGED
|
@@ -36,6 +36,8 @@ export interface InputProps extends BasicAttributes {
|
|
|
36
36
|
clearable?: boolean
|
|
37
37
|
resize?: boolean
|
|
38
38
|
autofocus?: boolean
|
|
39
|
+
preventAutoFill?: boolean
|
|
40
|
+
inputmode?: InputHTMLAttributes['inputmode']
|
|
39
41
|
validateTrigger?: InputValidateTrigger[]
|
|
40
42
|
rules?: InputRules
|
|
41
43
|
enterkeyhint?: InputHTMLAttributes['enterKeyHint']
|