@touchvue/ui 1.0.0-beta.56 → 1.0.0-beta.57
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/components/msg/index.d.ts +22 -7
- package/es/components/scroll/index.d.ts +0 -48
- package/es/components/scroll/src/Scroll.vue.d.ts +0 -28
- package/es/components/scroll/src/scroll.d.ts +0 -21
- package/es/packages/components/box/src/box.vue2.mjs +2 -1
- package/es/packages/components/box/src/box.vue2.mjs.map +1 -1
- package/es/packages/components/msg/index.d.mjs.map +1 -1
- package/es/packages/components/msg/index.mjs +26 -15
- package/es/packages/components/msg/index.mjs.map +1 -1
- package/es/packages/components/msg/src/msg.vue2.mjs +4 -4
- package/es/packages/components/msg/src/msg.vue2.mjs.map +1 -1
- package/es/packages/components/pic/src/Pic.vue2.mjs +2 -1
- package/es/packages/components/pic/src/Pic.vue2.mjs.map +1 -1
- package/es/packages/components/scroll/src/Scroll.vue2.mjs +6 -217
- package/es/packages/components/scroll/src/Scroll.vue2.mjs.map +1 -1
- package/es/packages/components/scroll/src/scroll.mjs +0 -21
- package/es/packages/components/scroll/src/scroll.mjs.map +1 -1
- package/es/packages/components/select/src/select.vue2.mjs +120 -125
- package/es/packages/components/select/src/select.vue2.mjs.map +1 -1
- package/es/packages/directives/tip/src/tip.mjs +13 -0
- package/es/packages/directives/tip/src/tip.mjs.map +1 -1
- package/es/packages/locale/lang/en-US.mjs +4 -0
- package/es/packages/locale/lang/en-US.mjs.map +1 -1
- package/es/packages/locale/lang/zh-CN.mjs +4 -0
- package/es/packages/locale/lang/zh-CN.mjs.map +1 -1
- package/lib/components/msg/index.d.ts +22 -7
- package/lib/components/scroll/index.d.ts +0 -48
- package/lib/components/scroll/src/Scroll.vue.d.ts +0 -28
- package/lib/components/scroll/src/scroll.d.ts +0 -21
- package/lib/packages/components/box/src/box.vue2.js +2 -1
- package/lib/packages/components/box/src/box.vue2.js.map +1 -1
- package/lib/packages/components/msg/index.d.js.map +1 -1
- package/lib/packages/components/msg/index.js +26 -15
- package/lib/packages/components/msg/index.js.map +1 -1
- package/lib/packages/components/msg/src/msg.vue2.js +4 -4
- package/lib/packages/components/msg/src/msg.vue2.js.map +1 -1
- package/lib/packages/components/pic/src/Pic.vue2.js +2 -1
- package/lib/packages/components/pic/src/Pic.vue2.js.map +1 -1
- package/lib/packages/components/scroll/src/Scroll.vue2.js +6 -217
- package/lib/packages/components/scroll/src/Scroll.vue2.js.map +1 -1
- package/lib/packages/components/scroll/src/scroll.js +0 -21
- package/lib/packages/components/scroll/src/scroll.js.map +1 -1
- package/lib/packages/components/select/src/select.vue2.js +120 -125
- package/lib/packages/components/select/src/select.vue2.js.map +1 -1
- package/lib/packages/directives/tip/src/tip.js +13 -0
- package/lib/packages/directives/tip/src/tip.js.map +1 -1
- package/lib/packages/locale/lang/en-US.js +4 -0
- package/lib/packages/locale/lang/en-US.js.map +1 -1
- package/lib/packages/locale/lang/zh-CN.js +4 -0
- package/lib/packages/locale/lang/zh-CN.js.map +1 -1
- package/package.json +1 -1
- package/theme/components/index.css +70 -133
- package/theme/index.css +70 -133
- package/theme/skin/default.css +70 -133
|
@@ -1116,7 +1116,6 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
1116
1116
|
var _a;
|
|
1117
1117
|
const _directive_tip = resolveDirective("tip");
|
|
1118
1118
|
const _directive_align = resolveDirective("align");
|
|
1119
|
-
const _directive_size = resolveDirective("size");
|
|
1120
1119
|
return openBlock(), createElementBlock(
|
|
1121
1120
|
Fragment,
|
|
1122
1121
|
null,
|
|
@@ -1243,7 +1242,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
1243
1242
|
{ key: 0 },
|
|
1244
1243
|
[
|
|
1245
1244
|
createCommentVNode(" \u5355\u9009\u663E\u793A\u503C\uFF08\u975E\u8F93\u5165\u6A21\u5F0F\u6216\u624B\u673A\u7AEF\uFF09 "),
|
|
1246
|
-
!_ctx.inputable && !_ctx.filterable && !_ctx.setDataFn && !_ctx.remoteMethod ||
|
|
1245
|
+
!_ctx.inputable && !_ctx.filterable && !_ctx.setDataFn && !_ctx.remoteMethod || !_ctx.$pc ? (openBlock(), createElementBlock("span", {
|
|
1247
1246
|
key: 0,
|
|
1248
1247
|
class: "to-select-box"
|
|
1249
1248
|
}, [
|
|
@@ -1457,7 +1456,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
1457
1456
|
/* STABLE_FRAGMENT */
|
|
1458
1457
|
)) : createCommentVNode("v-if", true),
|
|
1459
1458
|
createCommentVNode(" \u591A\u9009\u8F93\u5165\u6846\u533A\u57DF\uFF08\u975E\u624B\u673A\u7AEF\u6216\u624B\u673A\u7AEF\u65E0\u9009\u4E2D\u9879\u65F6\u663E\u793A\uFF09 "),
|
|
1460
|
-
|
|
1459
|
+
unref($phone) || unref($phone) && unref(selected).length === 0 ? (openBlock(), createElementBlock("span", {
|
|
1461
1460
|
key: 1,
|
|
1462
1461
|
class: "to-select-input"
|
|
1463
1462
|
}, [
|
|
@@ -1523,7 +1522,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
1523
1522
|
/* STABLE_FRAGMENT */
|
|
1524
1523
|
)),
|
|
1525
1524
|
createCommentVNode(" \u6E05\u9664\u56FE\u6807 "),
|
|
1526
|
-
showClearIcon.value ? (openBlock(), createBlock(unref(ToIcon), {
|
|
1525
|
+
showClearIcon.value && !unref($phone) ? (openBlock(), createBlock(unref(ToIcon), {
|
|
1527
1526
|
key: 3,
|
|
1528
1527
|
class: "to-select-clear",
|
|
1529
1528
|
link: "",
|
|
@@ -1531,15 +1530,10 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
1531
1530
|
onClick: withModifiers(clearClick, ["stop"])
|
|
1532
1531
|
})) : createCommentVNode("v-if", true),
|
|
1533
1532
|
createCommentVNode(" \u4E0B\u62C9\u7BAD\u5934\u56FE\u6807 "),
|
|
1534
|
-
|
|
1535
|
-
"
|
|
1536
|
-
|
|
1537
|
-
|
|
1538
|
-
},
|
|
1539
|
-
null,
|
|
1540
|
-
2
|
|
1541
|
-
/* CLASS */
|
|
1542
|
-
)
|
|
1533
|
+
createVNode(unref(ToIcon), {
|
|
1534
|
+
class: "to-select-arrow",
|
|
1535
|
+
value: "expand"
|
|
1536
|
+
})
|
|
1543
1537
|
],
|
|
1544
1538
|
512
|
|
1545
1539
|
/* NEED_PATCH */
|
|
@@ -1684,49 +1678,39 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
1684
1678
|
createCommentVNode(" \u5F39\u7A97\u6A21\u5F0F "),
|
|
1685
1679
|
_ctx.optionDisplay === "popup" || (_ctx.inputable || _ctx.filterable) && unref($phone) ? (openBlock(), createBlock(unref(ToGrid), {
|
|
1686
1680
|
key: 0,
|
|
1687
|
-
|
|
1688
|
-
|
|
1681
|
+
height: "full",
|
|
1682
|
+
dir: "v"
|
|
1689
1683
|
}, {
|
|
1690
1684
|
default: withCtx(() => [
|
|
1691
1685
|
createCommentVNode(" \u5F39\u7A97\u5934\u90E8\u533A\u57DF "),
|
|
1692
|
-
createVNode(unref(ToGridItem), {
|
|
1693
|
-
side: "",
|
|
1694
|
-
width: "full"
|
|
1695
|
-
}, {
|
|
1686
|
+
createVNode(unref(ToGridItem), null, {
|
|
1696
1687
|
default: withCtx(() => [
|
|
1697
1688
|
createCommentVNode(" \u5F39\u7A97\u6807\u9898\u680F "),
|
|
1698
|
-
createVNode(unref(
|
|
1689
|
+
createVNode(unref(ToHeader), {
|
|
1690
|
+
title: validateDesc.value ? unref(t)("to.select.float.title", validateDesc.value) : unref(t)("to.select.float.titlePlaceholder", validateDesc.value),
|
|
1691
|
+
onBack: ($event) => closeLayer()
|
|
1692
|
+
}, {
|
|
1699
1693
|
default: withCtx(() => [
|
|
1700
|
-
createVNode(unref(
|
|
1701
|
-
|
|
1702
|
-
|
|
1703
|
-
|
|
1694
|
+
createVNode(unref(ToButton), {
|
|
1695
|
+
icon: "close",
|
|
1696
|
+
mode: "none",
|
|
1697
|
+
color: "primary",
|
|
1698
|
+
onClick: ($event) => (clear(), closeLayer())
|
|
1704
1699
|
}, {
|
|
1705
1700
|
default: withCtx(() => [
|
|
1706
|
-
|
|
1707
|
-
|
|
1708
|
-
|
|
1709
|
-
|
|
1710
|
-
|
|
1711
|
-
}, {
|
|
1712
|
-
default: withCtx(() => [
|
|
1713
|
-
createTextVNode(
|
|
1714
|
-
toDisplayString(unref(t)("to.common.clear")),
|
|
1715
|
-
1
|
|
1716
|
-
/* TEXT */
|
|
1717
|
-
)
|
|
1718
|
-
]),
|
|
1719
|
-
_: 1
|
|
1720
|
-
/* STABLE */
|
|
1721
|
-
}, 8, ["onClick"])
|
|
1701
|
+
createTextVNode(
|
|
1702
|
+
toDisplayString(unref(t)("to.common.clear")),
|
|
1703
|
+
1
|
|
1704
|
+
/* TEXT */
|
|
1705
|
+
)
|
|
1722
1706
|
]),
|
|
1723
1707
|
_: 1
|
|
1724
1708
|
/* STABLE */
|
|
1725
|
-
}, 8, ["
|
|
1709
|
+
}, 8, ["onClick"])
|
|
1726
1710
|
]),
|
|
1727
1711
|
_: 1
|
|
1728
1712
|
/* STABLE */
|
|
1729
|
-
}),
|
|
1713
|
+
}, 8, ["title", "onBack"]),
|
|
1730
1714
|
createCommentVNode(" \u5F39\u7A97\u5185\u7684\u641C\u7D22/\u8F93\u5165\u533A\u57DF "),
|
|
1731
1715
|
_ctx.filterable || _ctx.inputable || _ctx.remoteMethod ? (openBlock(), createBlock(unref(ToPadding), {
|
|
1732
1716
|
key: 0,
|
|
@@ -1905,7 +1889,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
1905
1889
|
/* STABLE */
|
|
1906
1890
|
}),
|
|
1907
1891
|
createCommentVNode(" \u5F39\u7A97\u9009\u9879\u5185\u5BB9\u533A\u57DF "),
|
|
1908
|
-
createVNode(unref(ToGridItem), {
|
|
1892
|
+
createVNode(unref(ToGridItem), { flex: "" }, {
|
|
1909
1893
|
default: withCtx(() => [
|
|
1910
1894
|
createCommentVNode(" \u65E0\u6570\u636E\u63D0\u793A "),
|
|
1911
1895
|
nodata.value ? withDirectives((openBlock(), createBlock(unref(ToPadding), {
|
|
@@ -2101,55 +2085,36 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
2101
2085
|
_: 1
|
|
2102
2086
|
/* STABLE */
|
|
2103
2087
|
}),
|
|
2104
|
-
|
|
2105
|
-
|
|
2106
|
-
|
|
2107
|
-
|
|
2108
|
-
|
|
2109
|
-
|
|
2110
|
-
|
|
2111
|
-
|
|
2112
|
-
|
|
2113
|
-
|
|
2114
|
-
|
|
2115
|
-
|
|
2116
|
-
|
|
2117
|
-
|
|
2118
|
-
|
|
2119
|
-
|
|
2120
|
-
|
|
2121
|
-
|
|
2122
|
-
|
|
2123
|
-
|
|
2124
|
-
|
|
2125
|
-
|
|
2126
|
-
|
|
2127
|
-
|
|
2128
|
-
|
|
2129
|
-
|
|
2130
|
-
|
|
2131
|
-
|
|
2132
|
-
|
|
2133
|
-
|
|
2134
|
-
createTextVNode(
|
|
2135
|
-
toDisplayString(unref(t)("to.common.confirm")),
|
|
2136
|
-
1
|
|
2137
|
-
/* TEXT */
|
|
2138
|
-
)
|
|
2139
|
-
]),
|
|
2140
|
-
_: 1
|
|
2141
|
-
/* STABLE */
|
|
2142
|
-
}, 8, ["onClick"])), [
|
|
2143
|
-
[_directive_size, "l"]
|
|
2144
|
-
])
|
|
2145
|
-
]),
|
|
2146
|
-
_: 1
|
|
2147
|
-
/* STABLE */
|
|
2148
|
-
})
|
|
2149
|
-
]),
|
|
2150
|
-
_: 1
|
|
2151
|
-
/* STABLE */
|
|
2152
|
-
})
|
|
2088
|
+
createElementVNode("div", { class: "to-select-option-fn" }, [
|
|
2089
|
+
createVNode(unref(ToButton), {
|
|
2090
|
+
color: "primary",
|
|
2091
|
+
onClick: ($event) => (phoneCloseLayer(), iValue.value = "")
|
|
2092
|
+
}, {
|
|
2093
|
+
default: withCtx(() => [
|
|
2094
|
+
createTextVNode(
|
|
2095
|
+
toDisplayString(unref(t)("to.common.clear")),
|
|
2096
|
+
1
|
|
2097
|
+
/* TEXT */
|
|
2098
|
+
)
|
|
2099
|
+
]),
|
|
2100
|
+
_: 1
|
|
2101
|
+
/* STABLE */
|
|
2102
|
+
}, 8, ["onClick"]),
|
|
2103
|
+
createVNode(unref(ToButton), {
|
|
2104
|
+
mode: "fill",
|
|
2105
|
+
onClick: ($event) => phoneCloseLayer()
|
|
2106
|
+
}, {
|
|
2107
|
+
default: withCtx(() => [
|
|
2108
|
+
createTextVNode(
|
|
2109
|
+
toDisplayString(unref(t)("to.common.confirm")),
|
|
2110
|
+
1
|
|
2111
|
+
/* TEXT */
|
|
2112
|
+
)
|
|
2113
|
+
]),
|
|
2114
|
+
_: 1
|
|
2115
|
+
/* STABLE */
|
|
2116
|
+
}, 8, ["onClick"])
|
|
2117
|
+
])
|
|
2153
2118
|
]),
|
|
2154
2119
|
_: 1
|
|
2155
2120
|
/* STABLE */
|
|
@@ -2185,44 +2150,16 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
2185
2150
|
/* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */
|
|
2186
2151
|
)) : createCommentVNode("v-if", true),
|
|
2187
2152
|
createCommentVNode(" \u666E\u901A\u4E0B\u62C9\u9009\u9879\u6EDA\u52A8\u533A\u57DF"),
|
|
2188
|
-
!nodata.value && !nomatch.value ? (openBlock(), createBlock(unref(ToScroll), {
|
|
2153
|
+
!nodata.value && !nomatch.value ? (openBlock(), createBlock(unref(ToScroll), {
|
|
2154
|
+
key: 2,
|
|
2155
|
+
class: "to-select-option-scroll"
|
|
2156
|
+
}, {
|
|
2189
2157
|
default: withCtx(() => [
|
|
2190
2158
|
createCommentVNode(" \u591A\u9009\u9009\u9879 "),
|
|
2191
2159
|
_ctx.multiple ? (openBlock(), createElementBlock(
|
|
2192
2160
|
Fragment,
|
|
2193
2161
|
{ key: 0 },
|
|
2194
2162
|
[
|
|
2195
|
-
createCommentVNode(" \u5168\u9009/\u53CD\u9009\u6309\u94AE "),
|
|
2196
|
-
createElementVNode("div", { class: "to-select-option-fn" }, [
|
|
2197
|
-
createVNode(unref(ToButton), {
|
|
2198
|
-
class: "to-select-option-button value-all",
|
|
2199
|
-
onClick: selectAll
|
|
2200
|
-
}, {
|
|
2201
|
-
default: withCtx(() => [
|
|
2202
|
-
createTextVNode(
|
|
2203
|
-
toDisplayString(unref(t)("to.common.selectAll")),
|
|
2204
|
-
1
|
|
2205
|
-
/* TEXT */
|
|
2206
|
-
)
|
|
2207
|
-
]),
|
|
2208
|
-
_: 1
|
|
2209
|
-
/* STABLE */
|
|
2210
|
-
}),
|
|
2211
|
-
createVNode(unref(ToButton), {
|
|
2212
|
-
class: "to-select-option-button value-inverse",
|
|
2213
|
-
onClick: inverse
|
|
2214
|
-
}, {
|
|
2215
|
-
default: withCtx(() => [
|
|
2216
|
-
createTextVNode(
|
|
2217
|
-
toDisplayString(unref(t)("to.common.inverse")),
|
|
2218
|
-
1
|
|
2219
|
-
/* TEXT */
|
|
2220
|
-
)
|
|
2221
|
-
]),
|
|
2222
|
-
_: 1
|
|
2223
|
-
/* STABLE */
|
|
2224
|
-
})
|
|
2225
|
-
]),
|
|
2226
2163
|
createCommentVNode(" \u591A\u9009\u9009\u9879\u7F51\u683C "),
|
|
2227
2164
|
createVNode(unref(ToGrid), {
|
|
2228
2165
|
class: "to-select-list is-multiple",
|
|
@@ -2318,7 +2255,65 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
2318
2255
|
]),
|
|
2319
2256
|
_: 1
|
|
2320
2257
|
/* STABLE */
|
|
2321
|
-
})) : createCommentVNode("v-if", true)
|
|
2258
|
+
})) : createCommentVNode("v-if", true),
|
|
2259
|
+
_ctx.multiple || !_ctx.$pc ? (openBlock(), createElementBlock("div", {
|
|
2260
|
+
key: 3,
|
|
2261
|
+
class: "to-select-option-fn"
|
|
2262
|
+
}, [
|
|
2263
|
+
!_ctx.$pc ? (openBlock(), createBlock(unref(ToButton), {
|
|
2264
|
+
key: 0,
|
|
2265
|
+
class: "to-select-option-button value-clear",
|
|
2266
|
+
mode: "none",
|
|
2267
|
+
color: "primary",
|
|
2268
|
+
onClick: ($event) => (clear(), closeLayer())
|
|
2269
|
+
}, {
|
|
2270
|
+
default: withCtx(() => [
|
|
2271
|
+
createTextVNode(
|
|
2272
|
+
toDisplayString(unref(t)("to.common.clear")),
|
|
2273
|
+
1
|
|
2274
|
+
/* TEXT */
|
|
2275
|
+
)
|
|
2276
|
+
]),
|
|
2277
|
+
_: 1
|
|
2278
|
+
/* STABLE */
|
|
2279
|
+
}, 8, ["onClick"])) : createCommentVNode("v-if", true),
|
|
2280
|
+
_ctx.multiple ? (openBlock(), createElementBlock(
|
|
2281
|
+
Fragment,
|
|
2282
|
+
{ key: 1 },
|
|
2283
|
+
[
|
|
2284
|
+
createVNode(unref(ToButton), {
|
|
2285
|
+
class: "to-select-option-button value-all",
|
|
2286
|
+
onClick: selectAll
|
|
2287
|
+
}, {
|
|
2288
|
+
default: withCtx(() => [
|
|
2289
|
+
createTextVNode(
|
|
2290
|
+
toDisplayString(unref(t)("to.common.selectAll")),
|
|
2291
|
+
1
|
|
2292
|
+
/* TEXT */
|
|
2293
|
+
)
|
|
2294
|
+
]),
|
|
2295
|
+
_: 1
|
|
2296
|
+
/* STABLE */
|
|
2297
|
+
}),
|
|
2298
|
+
createVNode(unref(ToButton), {
|
|
2299
|
+
class: "to-select-option-button value-inverse",
|
|
2300
|
+
onClick: inverse
|
|
2301
|
+
}, {
|
|
2302
|
+
default: withCtx(() => [
|
|
2303
|
+
createTextVNode(
|
|
2304
|
+
toDisplayString(unref(t)("to.common.inverse")),
|
|
2305
|
+
1
|
|
2306
|
+
/* TEXT */
|
|
2307
|
+
)
|
|
2308
|
+
]),
|
|
2309
|
+
_: 1
|
|
2310
|
+
/* STABLE */
|
|
2311
|
+
})
|
|
2312
|
+
],
|
|
2313
|
+
64
|
|
2314
|
+
/* STABLE_FRAGMENT */
|
|
2315
|
+
)) : createCommentVNode("v-if", true)
|
|
2316
|
+
])) : createCommentVNode("v-if", true)
|
|
2322
2317
|
],
|
|
2323
2318
|
64
|
|
2324
2319
|
/* STABLE_FRAGMENT */
|