@varlet/ui 3.10.9 → 3.11.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/es/action-sheet/style/index.mjs +1 -1
- package/es/ellipsis/Ellipsis.mjs +28 -42
- package/es/ellipsis/ellipsis.css +1 -1
- package/es/index.bundle.mjs +1 -1
- package/es/index.mjs +1 -1
- package/es/varlet.css +1 -1
- package/es/varlet.esm.js +485 -499
- package/highlight/web-types.en-US.json +1 -1
- package/highlight/web-types.zh-CN.json +1 -1
- package/lib/varlet.cjs.js +28 -42
- package/lib/varlet.css +1 -1
- package/package.json +7 -7
- package/umd/varlet.js +3 -3
package/lib/varlet.cjs.js
CHANGED
|
@@ -18051,47 +18051,33 @@ const { name: name$I, n: n$L, classes: classes$A } = createNamespace("ellipsis")
|
|
|
18051
18051
|
const _hoisted_1$o = { key: 0 };
|
|
18052
18052
|
function __render__$J(_ctx, _cache) {
|
|
18053
18053
|
const _component_var_tooltip = vue.resolveComponent("var-tooltip");
|
|
18054
|
-
return vue.openBlock(), vue.createBlock(
|
|
18055
|
-
|
|
18056
|
-
|
|
18057
|
-
|
|
18058
|
-
|
|
18059
|
-
|
|
18060
|
-
|
|
18061
|
-
|
|
18062
|
-
|
|
18063
|
-
|
|
18064
|
-
|
|
18065
|
-
|
|
18066
|
-
|
|
18067
|
-
|
|
18068
|
-
|
|
18069
|
-
|
|
18070
|
-
|
|
18071
|
-
|
|
18072
|
-
|
|
18073
|
-
|
|
18074
|
-
|
|
18075
|
-
|
|
18076
|
-
|
|
18077
|
-
|
|
18078
|
-
|
|
18079
|
-
|
|
18080
|
-
|
|
18081
|
-
},
|
|
18082
|
-
[
|
|
18083
|
-
vue.renderSlot(_ctx.$slots, "default")
|
|
18084
|
-
],
|
|
18085
|
-
6
|
|
18086
|
-
/* CLASS, STYLE */
|
|
18087
|
-
)
|
|
18088
|
-
]),
|
|
18089
|
-
_: 3
|
|
18090
|
-
/* FORWARDED */
|
|
18091
|
-
},
|
|
18092
|
-
16
|
|
18093
|
-
/* FULL_PROPS */
|
|
18094
|
-
);
|
|
18054
|
+
return vue.openBlock(), vue.createBlock(_component_var_tooltip, vue.mergeProps({
|
|
18055
|
+
class: _ctx.classes(_ctx.n(), [_ctx.lineClamp, _ctx.n("--clamp"), _ctx.n("--line")], [_ctx.expandTrigger, _ctx.n("--cursor")], [_ctx.expanding, _ctx.n("--expand")]),
|
|
18056
|
+
"var-ellipsis-cover": "",
|
|
18057
|
+
style: _ctx.rootStyles
|
|
18058
|
+
}, _ctx.tooltipProps, { onClick: _ctx.handleClick }), {
|
|
18059
|
+
content: vue.withCtx(() => [
|
|
18060
|
+
vue.renderSlot(_ctx.$slots, "tooltip-content", {}, () => {
|
|
18061
|
+
var _a;
|
|
18062
|
+
return [
|
|
18063
|
+
((_a = _ctx.tooltipProps) == null ? void 0 : _a.content) ? (vue.openBlock(), vue.createElementBlock(
|
|
18064
|
+
"span",
|
|
18065
|
+
_hoisted_1$o,
|
|
18066
|
+
vue.toDisplayString(_ctx.tooltipProps.content),
|
|
18067
|
+
1
|
|
18068
|
+
/* TEXT */
|
|
18069
|
+
)) : vue.renderSlot(_ctx.$slots, "default", { key: 1 })
|
|
18070
|
+
];
|
|
18071
|
+
})
|
|
18072
|
+
]),
|
|
18073
|
+
default: vue.withCtx(() => [
|
|
18074
|
+
vue.createElementVNode("span", null, [
|
|
18075
|
+
vue.renderSlot(_ctx.$slots, "default")
|
|
18076
|
+
])
|
|
18077
|
+
]),
|
|
18078
|
+
_: 3
|
|
18079
|
+
/* FORWARDED */
|
|
18080
|
+
}, 16, ["class", "style", "onClick"]);
|
|
18095
18081
|
}
|
|
18096
18082
|
const __sfc__$M = vue.defineComponent({
|
|
18097
18083
|
name: name$I,
|
|
@@ -32027,7 +32013,7 @@ withInstall(stdin_default$1);
|
|
|
32027
32013
|
withPropsDefaultsSetter(stdin_default$1, props);
|
|
32028
32014
|
const _WatermarkComponent = stdin_default$1;
|
|
32029
32015
|
var stdin_default = stdin_default$1;
|
|
32030
|
-
const version = "3.
|
|
32016
|
+
const version = "3.11.0";
|
|
32031
32017
|
function install(app) {
|
|
32032
32018
|
stdin_default$60.install && app.use(stdin_default$60);
|
|
32033
32019
|
stdin_default$5_.install && app.use(stdin_default$5_);
|