@varlet/ui 2.12.3 → 2.12.4-alpha.1689047623608
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/form-details/FormDetails.mjs +5 -5
- package/es/index.bundle.mjs +1 -1
- package/es/index.mjs +1 -1
- package/es/input/Input.mjs +7 -1
- package/es/uploader/Uploader.mjs +8 -2
- package/es/varlet.esm.js +852 -838
- package/lib/varlet.cjs.js +24 -10
- package/package.json +6 -6
- package/types/input.d.ts +1 -0
- package/types/uploader.d.ts +1 -0
- package/umd/varlet.js +4 -4
- package/highlight/web-types.en-US.json +0 -6751
- package/highlight/web-types.zh-CN.json +0 -7091
package/lib/varlet.cjs.js
CHANGED
|
@@ -4667,7 +4667,7 @@ function __render__$$(_ctx, _cache) {
|
|
|
4667
4667
|
return vue.openBlock(), vue.createBlock(vue.Transition, {
|
|
4668
4668
|
name: _ctx.n()
|
|
4669
4669
|
}, {
|
|
4670
|
-
default: vue.withCtx(() => [_ctx.errorMessage || _ctx.extraMessage ? (vue.openBlock(), vue.createElementBlock(
|
|
4670
|
+
default: vue.withCtx(() => [_ctx.errorMessage || _ctx.extraMessage || _ctx.$slots["extra-message"] ? (vue.openBlock(), vue.createElementBlock(
|
|
4671
4671
|
"div",
|
|
4672
4672
|
{
|
|
4673
4673
|
key: 0,
|
|
@@ -4701,15 +4701,15 @@ function __render__$$(_ctx, _cache) {
|
|
|
4701
4701
|
[vue.createVNode(vue.Transition, {
|
|
4702
4702
|
name: _ctx.n("message")
|
|
4703
4703
|
}, {
|
|
4704
|
-
default: vue.withCtx(() => [_ctx.extraMessage ? (vue.openBlock(), vue.createElementBlock(
|
|
4704
|
+
default: vue.withCtx(() => [vue.renderSlot(_ctx.$slots, "extra-message", {}, () => [_ctx.extraMessage ? (vue.openBlock(), vue.createElementBlock(
|
|
4705
4705
|
"div",
|
|
4706
4706
|
_hoisted_2$d,
|
|
4707
4707
|
vue.toDisplayString(_ctx.extraMessage),
|
|
4708
4708
|
1
|
|
4709
4709
|
/* TEXT */
|
|
4710
|
-
)) : vue.createCommentVNode("v-if", true)]),
|
|
4711
|
-
_:
|
|
4712
|
-
/*
|
|
4710
|
+
)) : vue.createCommentVNode("v-if", true)])]),
|
|
4711
|
+
_: 3
|
|
4712
|
+
/* FORWARDED */
|
|
4713
4713
|
}, 8, ["name"])],
|
|
4714
4714
|
2
|
|
4715
4715
|
/* CLASS */
|
|
@@ -4717,8 +4717,8 @@ function __render__$$(_ctx, _cache) {
|
|
|
4717
4717
|
2
|
|
4718
4718
|
/* CLASS */
|
|
4719
4719
|
)) : vue.createCommentVNode("v-if", true)]),
|
|
4720
|
-
_:
|
|
4721
|
-
/*
|
|
4720
|
+
_: 3
|
|
4721
|
+
/* FORWARDED */
|
|
4722
4722
|
}, 8, ["name"]);
|
|
4723
4723
|
}
|
|
4724
4724
|
var __sfc__$10 = vue.defineComponent({
|
|
@@ -15911,7 +15911,14 @@ function __render__$A(_ctx, _cache) {
|
|
|
15911
15911
|
"extra-message": _ctx.maxlengthText,
|
|
15912
15912
|
onMousedown: _cache[14] || (_cache[14] = vue.withModifiers(() => {
|
|
15913
15913
|
}, ["stop"]))
|
|
15914
|
-
},
|
|
15914
|
+
}, vue.createSlots({
|
|
15915
|
+
_: 2
|
|
15916
|
+
/* DYNAMIC */
|
|
15917
|
+
}, [_ctx.$slots["extra-message"] ? {
|
|
15918
|
+
name: "extra-message",
|
|
15919
|
+
fn: vue.withCtx(() => [vue.renderSlot(_ctx.$slots, "extra-message")]),
|
|
15920
|
+
key: "0"
|
|
15921
|
+
} : void 0]), 1032, ["error-message", "extra-message"])],
|
|
15915
15922
|
34
|
|
15916
15923
|
/* CLASS, HYDRATE_EVENTS */
|
|
15917
15924
|
);
|
|
@@ -24399,7 +24406,14 @@ function __render__(_ctx, _cache) {
|
|
|
24399
24406
|
), vue.createVNode(_component_var_form_details, {
|
|
24400
24407
|
"error-message": _ctx.errorMessage,
|
|
24401
24408
|
"extra-message": _ctx.maxlengthText
|
|
24402
|
-
},
|
|
24409
|
+
}, vue.createSlots({
|
|
24410
|
+
_: 2
|
|
24411
|
+
/* DYNAMIC */
|
|
24412
|
+
}, [_ctx.$slots["extra-message"] ? {
|
|
24413
|
+
name: "extra-message",
|
|
24414
|
+
fn: vue.withCtx(() => [vue.renderSlot(_ctx.$slots, "extra-message")]),
|
|
24415
|
+
key: "0"
|
|
24416
|
+
} : void 0]), 1032, ["error-message", "extra-message"]), vue.createVNode(_component_var_popup, {
|
|
24403
24417
|
class: vue.normalizeClass(_ctx.n("preview")),
|
|
24404
24418
|
"var-uploader-cover": "",
|
|
24405
24419
|
position: "center",
|
|
@@ -24869,7 +24883,7 @@ const TimePickerSfc = "";
|
|
|
24869
24883
|
const TooltipSfc = "";
|
|
24870
24884
|
const uploader = "";
|
|
24871
24885
|
const UploaderSfc = "";
|
|
24872
|
-
const version = "2.12.
|
|
24886
|
+
const version = "2.12.4-alpha.1689047623608";
|
|
24873
24887
|
function install(app) {
|
|
24874
24888
|
ActionSheet.install && app.use(ActionSheet);
|
|
24875
24889
|
AppBar.install && app.use(AppBar);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@varlet/ui",
|
|
3
|
-
"version": "2.12.
|
|
3
|
+
"version": "2.12.4-alpha.1689047623608",
|
|
4
4
|
"description": "A material like components library",
|
|
5
5
|
"main": "lib/varlet.cjs.js",
|
|
6
6
|
"module": "es/index.mjs",
|
|
@@ -46,9 +46,9 @@
|
|
|
46
46
|
"@popperjs/core": "^2.11.6",
|
|
47
47
|
"dayjs": "^1.10.4",
|
|
48
48
|
"decimal.js": "^10.2.1",
|
|
49
|
-
"@varlet/shared": "2.12.
|
|
50
|
-
"@varlet/icons": "2.12.
|
|
51
|
-
"@varlet/use": "2.12.
|
|
49
|
+
"@varlet/shared": "2.12.4-alpha.1689047623608",
|
|
50
|
+
"@varlet/icons": "2.12.4-alpha.1689047623608",
|
|
51
|
+
"@varlet/use": "2.12.4-alpha.1689047623608"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
54
|
"@vue/runtime-core": "3.3.4",
|
|
@@ -63,8 +63,8 @@
|
|
|
63
63
|
"typescript": "^5.1.5",
|
|
64
64
|
"vue": "3.3.4",
|
|
65
65
|
"vue-router": "4.2.0",
|
|
66
|
-
"@varlet/cli": "2.12.
|
|
67
|
-
"@varlet/touch-emulator": "2.12.
|
|
66
|
+
"@varlet/cli": "2.12.4-alpha.1689047623608",
|
|
67
|
+
"@varlet/touch-emulator": "2.12.4-alpha.1689047623608"
|
|
68
68
|
},
|
|
69
69
|
"browserslist": [
|
|
70
70
|
"Chrome >= 54",
|
package/types/input.d.ts
CHANGED