@varlet/ui 3.5.0 → 3.5.1-alpha.1726764162524
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/auto-complete/AutoComplete.mjs +1 -2
- package/es/avatar/Avatar.mjs +1 -2
- package/es/badge/Badge.mjs +1 -2
- package/es/button/Button.mjs +1 -2
- package/es/card/Card.mjs +2 -4
- package/es/checkbox/Checkbox.mjs +1 -2
- package/es/collapse/Collapse.mjs +1 -2
- package/es/collapse-item/CollapseItem.mjs +1 -2
- package/es/counter/Counter.mjs +1 -2
- package/es/date-picker/DatePicker.mjs +30 -60
- package/es/date-picker/src/day-picker-panel.mjs +18 -33
- package/es/date-picker/src/month-picker-panel.mjs +21 -39
- package/es/date-picker/src/panel-header.mjs +3 -6
- package/es/date-picker/src/year-picker-panel.mjs +19 -35
- package/es/ellipsis/Ellipsis.mjs +1 -2
- package/es/fab/Fab.mjs +1 -1
- package/es/field-decorator/FieldDecorator.mjs +1 -2
- package/es/form-details/FormDetails.mjs +1 -2
- package/es/hover/index.mjs +1 -2
- package/es/image/Image.mjs +1 -2
- package/es/image-preview/ImagePreview.mjs +1 -2
- package/es/index-bar/IndexBar.mjs +3 -6
- package/es/index.bundle.mjs +1 -1
- package/es/index.mjs +1 -1
- package/es/input/Input.mjs +1 -2
- package/es/loading/Loading.mjs +17 -20
- package/es/menu-option/MenuOption.mjs +1 -2
- package/es/option/Option.mjs +1 -2
- package/es/overlay/Overlay.mjs +1 -2
- package/es/pagination/Pagination.mjs +5 -10
- package/es/picker/Picker.mjs +1 -2
- package/es/popup/Popup.mjs +1 -2
- package/es/progress/Progress.mjs +1 -2
- package/es/radio/Radio.mjs +1 -2
- package/es/rate/Rate.mjs +1 -2
- package/es/result/Empty.mjs +13 -16
- package/es/result/Error.mjs +10 -13
- package/es/result/Info.mjs +10 -13
- package/es/result/Question.mjs +10 -13
- package/es/result/Warning.mjs +10 -13
- package/es/select/Select.mjs +1 -2
- package/es/slider/Slider.mjs +1 -2
- package/es/snackbar/index.mjs +4 -5
- package/es/space/Space.mjs +1 -2
- package/es/step/Step.mjs +1 -2
- package/es/style.css +1 -1
- package/es/swipe/Swipe.mjs +1 -2
- package/es/swipe-item/SwipeItem.mjs +1 -2
- package/es/switch/Switch.mjs +17 -20
- package/es/tabs/Tabs.mjs +1 -2
- package/es/time-picker/TimePicker.mjs +13 -26
- package/es/time-picker/clock.mjs +11 -22
- package/es/time-picker/utils.mjs +4 -8
- package/es/uploader/Uploader.mjs +1 -2
- package/es/utils/elements.mjs +1 -2
- package/es/utils/test.mjs +1 -4
- package/es/varlet.esm.js +5120 -5252
- package/es/watermark/Watermark.mjs +1 -2
- package/highlight/web-types.en-US.json +1 -1
- package/highlight/web-types.zh-CN.json +1 -1
- package/lib/varlet.cjs.js +501 -842
- package/package.json +7 -7
- package/umd/varlet.js +8 -8
|
@@ -72,7 +72,8 @@ function __render__(_ctx, _cache) {
|
|
|
72
72
|
type: "primary",
|
|
73
73
|
"var-year-picker-cover": "",
|
|
74
74
|
ripple: false,
|
|
75
|
-
elevation: _ctx.componentProps.buttonElevation
|
|
75
|
+
elevation: _ctx.componentProps.buttonElevation,
|
|
76
|
+
ref_for: true
|
|
76
77
|
}, __spreadValues({}, _ctx.buttonProps(`${year}`)), {
|
|
77
78
|
onClick: (event) => _ctx.chooseYear(year, event)
|
|
78
79
|
}), {
|
|
@@ -150,16 +151,13 @@ const __sfc__ = defineComponent({
|
|
|
150
151
|
componentProps: { type, range }
|
|
151
152
|
} = props;
|
|
152
153
|
if (range) {
|
|
153
|
-
if (!chooseRangeYear.length)
|
|
154
|
-
return false;
|
|
154
|
+
if (!chooseRangeYear.length) return false;
|
|
155
155
|
const isBeforeMax = dayjs(val).isSameOrBefore(dayjs(chooseRangeYear[1]), "year");
|
|
156
156
|
const isAfterMin = dayjs(val).isSameOrAfter(dayjs(chooseRangeYear[0]), "year");
|
|
157
157
|
return isBeforeMax && isAfterMin;
|
|
158
158
|
}
|
|
159
|
-
if (type === "year")
|
|
160
|
-
|
|
161
|
-
if (type === "month")
|
|
162
|
-
return chooseMonths.some((value) => value.includes(val));
|
|
159
|
+
if (type === "year") return chooseYears.includes(val);
|
|
160
|
+
if (type === "month") return chooseMonths.some((value) => value.includes(val));
|
|
163
161
|
return chooseDays.some((value) => value.includes(val));
|
|
164
162
|
};
|
|
165
163
|
const inRange = (year) => {
|
|
@@ -176,41 +174,30 @@ const __sfc__ = defineComponent({
|
|
|
176
174
|
componentProps: { allowedDates, color, multiple, range }
|
|
177
175
|
} = props;
|
|
178
176
|
const yearExist = () => {
|
|
179
|
-
if (range || multiple)
|
|
180
|
-
return shouldChoose(year);
|
|
177
|
+
if (range || multiple) return shouldChoose(year);
|
|
181
178
|
return chooseYear2 === year;
|
|
182
179
|
};
|
|
183
180
|
const computeDisabled = () => {
|
|
184
|
-
if (!inRange(year))
|
|
185
|
-
|
|
186
|
-
if (!allowedDates)
|
|
187
|
-
return false;
|
|
181
|
+
if (!inRange(year)) return true;
|
|
182
|
+
if (!allowedDates) return false;
|
|
188
183
|
return !allowedDates(year);
|
|
189
184
|
};
|
|
190
185
|
const disabled = computeDisabled();
|
|
191
186
|
const computeText = () => {
|
|
192
|
-
if (disabled)
|
|
193
|
-
|
|
194
|
-
if (range || multiple)
|
|
195
|
-
return !shouldChoose(year);
|
|
187
|
+
if (disabled) return true;
|
|
188
|
+
if (range || multiple) return !shouldChoose(year);
|
|
196
189
|
return chooseYear2 !== year;
|
|
197
190
|
};
|
|
198
191
|
const computeOutline = () => {
|
|
199
|
-
if (!(currentYear === year && props.componentProps.showCurrent))
|
|
200
|
-
|
|
201
|
-
if (
|
|
202
|
-
return true;
|
|
203
|
-
if (range || multiple)
|
|
204
|
-
return !shouldChoose(year);
|
|
192
|
+
if (!(currentYear === year && props.componentProps.showCurrent)) return false;
|
|
193
|
+
if ((range || multiple) && disabled) return true;
|
|
194
|
+
if (range || multiple) return !shouldChoose(year);
|
|
205
195
|
return chooseYear2 !== currentYear;
|
|
206
196
|
};
|
|
207
197
|
const textColorOrCover = () => {
|
|
208
|
-
if (disabled)
|
|
209
|
-
|
|
210
|
-
if (
|
|
211
|
-
return color != null ? color : "";
|
|
212
|
-
if (yearExist())
|
|
213
|
-
return "";
|
|
198
|
+
if (disabled) return "";
|
|
199
|
+
if (computeOutline()) return color != null ? color : "";
|
|
200
|
+
if (yearExist()) return "";
|
|
214
201
|
return `${nDate()}-color-cover`;
|
|
215
202
|
};
|
|
216
203
|
const isCover = textColorOrCover().startsWith(nDate());
|
|
@@ -226,8 +213,7 @@ const __sfc__ = defineComponent({
|
|
|
226
213
|
};
|
|
227
214
|
const chooseYear = (year, event) => {
|
|
228
215
|
const buttonEl = event.currentTarget;
|
|
229
|
-
if (buttonEl.classList.contains(n("button--disabled")))
|
|
230
|
-
return;
|
|
216
|
+
if (buttonEl.classList.contains(n("button--disabled"))) return;
|
|
231
217
|
emit("choose-year", year);
|
|
232
218
|
};
|
|
233
219
|
const scrollToView = () => {
|
|
@@ -261,10 +247,8 @@ const __sfc__ = defineComponent({
|
|
|
261
247
|
} = props;
|
|
262
248
|
if (max)
|
|
263
249
|
panelBtnDisabled.right = !dayjs(`${toNumber(list[list.length - 1])}`).isSameOrBefore(dayjs(max), "year");
|
|
264
|
-
if (min)
|
|
265
|
-
|
|
266
|
-
if (toNumber(list[0] <= 0))
|
|
267
|
-
panelBtnDisabled.left = false;
|
|
250
|
+
if (min) panelBtnDisabled.left = !dayjs(`${toNumber(list[0])}`).isSameOrAfter(dayjs(min), "year");
|
|
251
|
+
if (toNumber(list[0] <= 0)) panelBtnDisabled.left = false;
|
|
268
252
|
},
|
|
269
253
|
{
|
|
270
254
|
immediate: true
|
package/es/ellipsis/Ellipsis.mjs
CHANGED
|
@@ -20,8 +20,7 @@ import { createNamespace } from "../utils/components.mjs";
|
|
|
20
20
|
import { props } from "./props.mjs";
|
|
21
21
|
import { useVModel } from "@varlet/use";
|
|
22
22
|
const { name, n, classes } = createNamespace("ellipsis");
|
|
23
|
-
import { renderSlot as _renderSlot, normalizeClass as _normalizeClass, normalizeStyle as _normalizeStyle, createElementVNode as _createElementVNode, toDisplayString as _toDisplayString, openBlock as _openBlock, createElementBlock as _createElementBlock, resolveComponent as _resolveComponent, normalizeProps as _normalizeProps, guardReactiveProps as _guardReactiveProps, withCtx as _withCtx, createBlock as _createBlock
|
|
24
|
-
const _withScopeId = (n2) => (_pushScopeId(""), n2 = n2(), _popScopeId(), n2);
|
|
23
|
+
import { renderSlot as _renderSlot, normalizeClass as _normalizeClass, normalizeStyle as _normalizeStyle, createElementVNode as _createElementVNode, toDisplayString as _toDisplayString, openBlock as _openBlock, createElementBlock as _createElementBlock, resolveComponent as _resolveComponent, normalizeProps as _normalizeProps, guardReactiveProps as _guardReactiveProps, withCtx as _withCtx, createBlock as _createBlock } from "vue";
|
|
25
24
|
const _hoisted_1 = { key: 0 };
|
|
26
25
|
function __render__(_ctx, _cache) {
|
|
27
26
|
const _component_var_tooltip = _resolveComponent("var-tooltip");
|
package/es/fab/Fab.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { createVNode as _createVNode, vShow as _vShow, withDirectives as _withDirectives, mergeProps as _mergeProps } from "vue";
|
|
2
2
|
import Button from "../button/index.mjs";
|
|
3
3
|
import Icon from "../icon/index.mjs";
|
|
4
4
|
import Drag from "../drag/index.mjs";
|
|
@@ -27,8 +27,7 @@ import { onWindowResize, onSmartMounted } from "@varlet/use";
|
|
|
27
27
|
import { usePopup } from "../popup/provide.mjs";
|
|
28
28
|
import { useSwipeResizeDispatcher } from "../swipe/provide.mjs";
|
|
29
29
|
const { name, n, classes } = createNamespace("field-decorator");
|
|
30
|
-
import { renderSlot as _renderSlot, normalizeClass as _normalizeClass, createElementVNode as _createElementVNode, toDisplayString as _toDisplayString, normalizeStyle as _normalizeStyle, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, resolveComponent as _resolveComponent, createVNode as _createVNode, Teleport as _Teleport, createBlock as _createBlock, Fragment as _Fragment
|
|
31
|
-
const _withScopeId = (n2) => (_pushScopeId(""), n2 = n2(), _popScopeId(), n2);
|
|
30
|
+
import { renderSlot as _renderSlot, normalizeClass as _normalizeClass, createElementVNode as _createElementVNode, toDisplayString as _toDisplayString, normalizeStyle as _normalizeStyle, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, resolveComponent as _resolveComponent, createVNode as _createVNode, Teleport as _Teleport, createBlock as _createBlock, Fragment as _Fragment } from "vue";
|
|
32
31
|
const _hoisted_1 = ["for"];
|
|
33
32
|
function __render__(_ctx, _cache) {
|
|
34
33
|
const _component_var_icon = _resolveComponent("var-icon");
|
|
@@ -2,8 +2,7 @@ import { defineComponent } from "vue";
|
|
|
2
2
|
import { createNamespace } from "../utils/components.mjs";
|
|
3
3
|
import { props } from "./props.mjs";
|
|
4
4
|
const { name, n } = createNamespace("form-details");
|
|
5
|
-
import { toDisplayString as _toDisplayString, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, Transition as _Transition, withCtx as _withCtx, createVNode as _createVNode, normalizeClass as _normalizeClass, createElementVNode as _createElementVNode, renderSlot as _renderSlot, createBlock as _createBlock
|
|
6
|
-
const _withScopeId = (n2) => (_pushScopeId(""), n2 = n2(), _popScopeId(), n2);
|
|
5
|
+
import { toDisplayString as _toDisplayString, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, Transition as _Transition, withCtx as _withCtx, createVNode as _createVNode, normalizeClass as _normalizeClass, createElementVNode as _createElementVNode, renderSlot as _renderSlot, createBlock as _createBlock } from "vue";
|
|
7
6
|
const _hoisted_1 = { key: 0 };
|
|
8
7
|
const _hoisted_2 = { key: 0 };
|
|
9
8
|
function __render__(_ctx, _cache) {
|
package/es/hover/index.mjs
CHANGED
|
@@ -13,8 +13,7 @@ function shouldDisabled(arg) {
|
|
|
13
13
|
}
|
|
14
14
|
function getStyle(element) {
|
|
15
15
|
const style = element.getAttribute("style");
|
|
16
|
-
if (!style)
|
|
17
|
-
return {};
|
|
16
|
+
if (!style) return {};
|
|
18
17
|
return style.split(";").filter(Boolean).reduce((style2, item) => {
|
|
19
18
|
const [key, value] = item.split(":").map((item2) => item2.trim());
|
|
20
19
|
style2[camelize(key)] = value;
|
package/es/image/Image.mjs
CHANGED
|
@@ -6,8 +6,7 @@ import { toSizeUnit } from "../utils/elements.mjs";
|
|
|
6
6
|
import { createNamespace } from "../utils/components.mjs";
|
|
7
7
|
import { call } from "@varlet/shared";
|
|
8
8
|
const { name, n, classes } = createNamespace("image");
|
|
9
|
-
import { normalizeClass as _normalizeClass, normalizeStyle as _normalizeStyle, resolveDirective as _resolveDirective, withDirectives as _withDirectives, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, renderSlot as _renderSlot
|
|
10
|
-
const _withScopeId = (n2) => (_pushScopeId(""), n2 = n2(), _popScopeId(), n2);
|
|
9
|
+
import { normalizeClass as _normalizeClass, normalizeStyle as _normalizeStyle, resolveDirective as _resolveDirective, withDirectives as _withDirectives, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, renderSlot as _renderSlot } from "vue";
|
|
11
10
|
const _hoisted_1 = ["alt", "title", "referrerpolicy", "lazy-loading", "lazy-error"];
|
|
12
11
|
const _hoisted_2 = ["alt", "title", "referrerpolicy", "src"];
|
|
13
12
|
function __render__(_ctx, _cache) {
|
|
@@ -14,8 +14,7 @@ const TAP_DELAY = 350;
|
|
|
14
14
|
const ANIMATION_DURATION = 200;
|
|
15
15
|
const LONG_PRESS_DELAY = 500;
|
|
16
16
|
const BASE_RATIO = 1;
|
|
17
|
-
import { renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, normalizeClass as _normalizeClass, createElementVNode as _createElementVNode, normalizeStyle as _normalizeStyle, resolveComponent as _resolveComponent, withCtx as _withCtx, createBlock as _createBlock, renderSlot as _renderSlot, toDisplayString as _toDisplayString, createCommentVNode as _createCommentVNode, mergeProps as _mergeProps, createVNode as _createVNode
|
|
18
|
-
const _withScopeId = (n2) => (_pushScopeId(""), n2 = n2(), _popScopeId(), n2);
|
|
17
|
+
import { renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, normalizeClass as _normalizeClass, createElementVNode as _createElementVNode, normalizeStyle as _normalizeStyle, resolveComponent as _resolveComponent, withCtx as _withCtx, createBlock as _createBlock, renderSlot as _renderSlot, toDisplayString as _toDisplayString, createCommentVNode as _createCommentVNode, mergeProps as _mergeProps, createVNode as _createVNode } from "vue";
|
|
19
18
|
const _hoisted_1 = ["onTouchstart"];
|
|
20
19
|
const _hoisted_2 = ["src", "alt"];
|
|
21
20
|
function __render__(_ctx, _cache) {
|
|
@@ -36,8 +36,7 @@ import { props } from "./props.mjs";
|
|
|
36
36
|
import { createNamespace } from "../utils/components.mjs";
|
|
37
37
|
import { onSmartMounted } from "@varlet/use";
|
|
38
38
|
const { name, n, classes } = createNamespace("index-bar");
|
|
39
|
-
import { renderSlot as _renderSlot, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, normalizeClass as _normalizeClass, normalizeStyle as _normalizeStyle, createElementVNode as _createElementVNode
|
|
40
|
-
const _withScopeId = (n2) => (_pushScopeId(""), n2 = n2(), _popScopeId(), n2);
|
|
39
|
+
import { renderSlot as _renderSlot, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, normalizeClass as _normalizeClass, normalizeStyle as _normalizeStyle, createElementVNode as _createElementVNode } from "vue";
|
|
41
40
|
const _hoisted_1 = ["onClick"];
|
|
42
41
|
function __render__(_ctx, _cache) {
|
|
43
42
|
return _openBlock(), _createElementBlock(
|
|
@@ -122,8 +121,7 @@ const __sfc__ = defineComponent({
|
|
|
122
121
|
removeScrollerListener();
|
|
123
122
|
});
|
|
124
123
|
onActivated(() => {
|
|
125
|
-
if (!isDeactivated || active.value === void 0)
|
|
126
|
-
return;
|
|
124
|
+
if (!isDeactivated || active.value === void 0) return;
|
|
127
125
|
anchorClick({
|
|
128
126
|
anchorName: active.value,
|
|
129
127
|
options: { event: false }
|
|
@@ -133,8 +131,7 @@ const __sfc__ = defineComponent({
|
|
|
133
131
|
bindIndexAnchors(indexBarProvider);
|
|
134
132
|
function emitEvent(anchor, options) {
|
|
135
133
|
const anchorName = isPlainObject(anchor) ? anchor.name.value : anchor;
|
|
136
|
-
if (anchorName === active.value || anchorName === void 0)
|
|
137
|
-
return;
|
|
134
|
+
if (anchorName === active.value || anchorName === void 0) return;
|
|
138
135
|
active.value = anchorName;
|
|
139
136
|
if ((options == null ? void 0 : options.event) !== false) {
|
|
140
137
|
call(props2.onChange, anchorName);
|
package/es/index.bundle.mjs
CHANGED
|
@@ -268,7 +268,7 @@ import './tooltip/style/index.mjs'
|
|
|
268
268
|
import './uploader/style/index.mjs'
|
|
269
269
|
import './watermark/style/index.mjs'
|
|
270
270
|
|
|
271
|
-
const version = '3.5.
|
|
271
|
+
const version = '3.5.1-alpha.1726764162524'
|
|
272
272
|
|
|
273
273
|
function install(app) {
|
|
274
274
|
ActionSheet.install && app.use(ActionSheet)
|
package/es/index.mjs
CHANGED
|
@@ -178,7 +178,7 @@ export * from './tooltip/index.mjs'
|
|
|
178
178
|
export * from './uploader/index.mjs'
|
|
179
179
|
export * from './watermark/index.mjs'
|
|
180
180
|
|
|
181
|
-
const version = '3.5.
|
|
181
|
+
const version = '3.5.1-alpha.1726764162524'
|
|
182
182
|
|
|
183
183
|
function install(app) {
|
|
184
184
|
ActionSheet.install && app.use(ActionSheet)
|
package/es/input/Input.mjs
CHANGED
|
@@ -7,8 +7,7 @@ import { useValidation, createNamespace } from "../utils/components.mjs";
|
|
|
7
7
|
import { useForm } from "../form/provide.mjs";
|
|
8
8
|
import { onSmartMounted, useClientId } from "@varlet/use";
|
|
9
9
|
const { name, n, classes } = createNamespace("input");
|
|
10
|
-
import { renderSlot as _renderSlot, normalizeClass as _normalizeClass, normalizeStyle as _normalizeStyle, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, resolveComponent as _resolveComponent, normalizeProps as _normalizeProps, guardReactiveProps as _guardReactiveProps, withCtx as _withCtx, createSlots as _createSlots, createVNode as _createVNode, createBlock as _createBlock
|
|
11
|
-
const _withScopeId = (n2) => (_pushScopeId(""), n2 = n2(), _popScopeId(), n2);
|
|
10
|
+
import { renderSlot as _renderSlot, normalizeClass as _normalizeClass, normalizeStyle as _normalizeStyle, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, resolveComponent as _resolveComponent, normalizeProps as _normalizeProps, guardReactiveProps as _guardReactiveProps, withCtx as _withCtx, createSlots as _createSlots, createVNode as _createVNode, createBlock as _createBlock } from "vue";
|
|
12
11
|
const _hoisted_1 = ["placeholder", "enterkeyhint"];
|
|
13
12
|
const _hoisted_2 = ["autocomplete", "id", "disabled", "readonly", "type", "value", "placeholder", "maxlength", "rows", "enterkeyhint", "inputmode"];
|
|
14
13
|
const _hoisted_3 = ["autocomplete", "id", "disabled", "readonly", "type", "value", "placeholder", "maxlength", "enterkeyhint", "inputmode"];
|
package/es/loading/Loading.mjs
CHANGED
|
@@ -4,25 +4,7 @@ import { createNamespace } from "../utils/components.mjs";
|
|
|
4
4
|
import { multiplySizeUnit } from "../utils/elements.mjs";
|
|
5
5
|
import { call } from "@varlet/shared";
|
|
6
6
|
const { name, n, classes } = createNamespace("loading");
|
|
7
|
-
import { renderSlot as _renderSlot, normalizeClass as _normalizeClass, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, createElementVNode as _createElementVNode, normalizeStyle as _normalizeStyle, renderList as _renderList, Fragment as _Fragment, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode
|
|
8
|
-
const _withScopeId = (n2) => (_pushScopeId(""), n2 = n2(), _popScopeId(), n2);
|
|
9
|
-
const _hoisted_1 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ _createElementVNode(
|
|
10
|
-
"svg",
|
|
11
|
-
{ viewBox: "25 25 50 50" },
|
|
12
|
-
[
|
|
13
|
-
/* @__PURE__ */ _createElementVNode("circle", {
|
|
14
|
-
cx: "50",
|
|
15
|
-
cy: "50",
|
|
16
|
-
r: "20",
|
|
17
|
-
fill: "none"
|
|
18
|
-
})
|
|
19
|
-
],
|
|
20
|
-
-1
|
|
21
|
-
/* HOISTED */
|
|
22
|
-
));
|
|
23
|
-
const _hoisted_2 = [
|
|
24
|
-
_hoisted_1
|
|
25
|
-
];
|
|
7
|
+
import { renderSlot as _renderSlot, normalizeClass as _normalizeClass, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, createElementVNode as _createElementVNode, normalizeStyle as _normalizeStyle, renderList as _renderList, Fragment as _Fragment, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode } from "vue";
|
|
26
8
|
function __render__(_ctx, _cache) {
|
|
27
9
|
return _openBlock(), _createElementBlock(
|
|
28
10
|
"div",
|
|
@@ -76,7 +58,22 @@ function __render__(_ctx, _cache) {
|
|
|
76
58
|
color: _ctx.color
|
|
77
59
|
})
|
|
78
60
|
},
|
|
79
|
-
[
|
|
61
|
+
_cache[0] || (_cache[0] = [
|
|
62
|
+
_createElementVNode(
|
|
63
|
+
"svg",
|
|
64
|
+
{ viewBox: "25 25 50 50" },
|
|
65
|
+
[
|
|
66
|
+
_createElementVNode("circle", {
|
|
67
|
+
cx: "50",
|
|
68
|
+
cy: "50",
|
|
69
|
+
r: "20",
|
|
70
|
+
fill: "none"
|
|
71
|
+
})
|
|
72
|
+
],
|
|
73
|
+
-1
|
|
74
|
+
/* HOISTED */
|
|
75
|
+
)
|
|
76
|
+
]),
|
|
80
77
|
6
|
|
81
78
|
/* CLASS, STYLE */
|
|
82
79
|
)
|
|
@@ -9,8 +9,7 @@ import { props } from "./props.mjs";
|
|
|
9
9
|
import { preventDefault, isFunction } from "@varlet/shared";
|
|
10
10
|
import { useEventListener } from "@varlet/use";
|
|
11
11
|
const { name, n, classes } = createNamespace("menu-option");
|
|
12
|
-
import { normalizeClass as _normalizeClass, createElementVNode as _createElementVNode, resolveComponent as _resolveComponent, withModifiers as _withModifiers, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, renderSlot as _renderSlot, createVNode as _createVNode, resolveDirective as _resolveDirective, createElementBlock as _createElementBlock, withDirectives as _withDirectives
|
|
13
|
-
const _withScopeId = (n2) => (_pushScopeId(""), n2 = n2(), _popScopeId(), n2);
|
|
12
|
+
import { normalizeClass as _normalizeClass, createElementVNode as _createElementVNode, resolveComponent as _resolveComponent, withModifiers as _withModifiers, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, renderSlot as _renderSlot, createVNode as _createVNode, resolveDirective as _resolveDirective, createElementBlock as _createElementBlock, withDirectives as _withDirectives } from "vue";
|
|
14
13
|
const _hoisted_1 = ["tabindex"];
|
|
15
14
|
function __render__(_ctx, _cache) {
|
|
16
15
|
const _component_var_checkbox = _resolveComponent("var-checkbox");
|
package/es/option/Option.mjs
CHANGED
|
@@ -9,8 +9,7 @@ import { props } from "./props.mjs";
|
|
|
9
9
|
import { preventDefault, isFunction } from "@varlet/shared";
|
|
10
10
|
import { useEventListener } from "@varlet/use";
|
|
11
11
|
const { name, n, classes } = createNamespace("option");
|
|
12
|
-
import { normalizeClass as _normalizeClass, normalizeStyle as _normalizeStyle, createElementVNode as _createElementVNode, resolveComponent as _resolveComponent, withModifiers as _withModifiers, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, renderSlot as _renderSlot, createVNode as _createVNode, resolveDirective as _resolveDirective, createElementBlock as _createElementBlock, withDirectives as _withDirectives
|
|
13
|
-
const _withScopeId = (n2) => (_pushScopeId(""), n2 = n2(), _popScopeId(), n2);
|
|
12
|
+
import { normalizeClass as _normalizeClass, normalizeStyle as _normalizeStyle, createElementVNode as _createElementVNode, resolveComponent as _resolveComponent, withModifiers as _withModifiers, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, renderSlot as _renderSlot, createVNode as _createVNode, resolveDirective as _resolveDirective, createElementBlock as _createElementBlock, withDirectives as _withDirectives } from "vue";
|
|
14
13
|
const _hoisted_1 = ["tabindex"];
|
|
15
14
|
function __render__(_ctx, _cache) {
|
|
16
15
|
const _component_var_checkbox = _resolveComponent("var-checkbox");
|
package/es/overlay/Overlay.mjs
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { defineComponent, Teleport, Transition } from "vue";
|
|
1
|
+
import { defineComponent, Teleport, Transition, mergeProps as _mergeProps, createVNode as _createVNode } from "vue";
|
|
3
2
|
import { props } from "./props.mjs";
|
|
4
3
|
import { useLock } from "../context/lock.mjs";
|
|
5
4
|
import { useZIndex } from "../context/zIndex.mjs";
|
|
@@ -10,8 +10,7 @@ import { t } from "../locale/index.mjs";
|
|
|
10
10
|
import { createNamespace, formatElevation } from "../utils/components.mjs";
|
|
11
11
|
import { injectLocaleProvider } from "../locale-provider/provide.mjs";
|
|
12
12
|
const { name, n, classes } = createNamespace("pagination");
|
|
13
|
-
import { renderSlot as _renderSlot, resolveComponent as _resolveComponent, createVNode as _createVNode, normalizeClass as _normalizeClass, resolveDirective as _resolveDirective, openBlock as _openBlock, createElementBlock as _createElementBlock, withDirectives as _withDirectives, withKeys as _withKeys, toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, createTextVNode as _createTextVNode, createCommentVNode as _createCommentVNode, renderList as _renderList, Fragment as _Fragment, withCtx as _withCtx, createBlock as _createBlock
|
|
14
|
-
const _withScopeId = (n2) => (_pushScopeId(""), n2 = n2(), _popScopeId(), n2);
|
|
13
|
+
import { renderSlot as _renderSlot, resolveComponent as _resolveComponent, createVNode as _createVNode, normalizeClass as _normalizeClass, resolveDirective as _resolveDirective, openBlock as _openBlock, createElementBlock as _createElementBlock, withDirectives as _withDirectives, withKeys as _withKeys, toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, createTextVNode as _createTextVNode, createCommentVNode as _createCommentVNode, renderList as _renderList, Fragment as _Fragment, withCtx as _withCtx, createBlock as _createBlock } from "vue";
|
|
15
14
|
const _hoisted_1 = ["item-mode", "onClick"];
|
|
16
15
|
function __render__(_ctx, _cache) {
|
|
17
16
|
const _component_var_icon = _resolveComponent("var-icon");
|
|
@@ -292,8 +291,7 @@ const __sfc__ = defineComponent({
|
|
|
292
291
|
simpleCurrentValue.value = `${newCurrent}`;
|
|
293
292
|
if (newCount - 2 > maxPagerCount) {
|
|
294
293
|
if (oldCurrent === void 0 || newCount !== oldCount) {
|
|
295
|
-
for (let i = 2; i < maxPagerCount + 2; i++)
|
|
296
|
-
list.push(i);
|
|
294
|
+
for (let i = 2; i < maxPagerCount + 2; i++) list.push(i);
|
|
297
295
|
}
|
|
298
296
|
if (newCurrent <= maxPagerCount && newCurrent < rEllipseSign) {
|
|
299
297
|
list = [];
|
|
@@ -321,8 +319,7 @@ const __sfc__ = defineComponent({
|
|
|
321
319
|
}
|
|
322
320
|
list = [1, "...", ...list, "...", newCount];
|
|
323
321
|
} else {
|
|
324
|
-
for (let i = 1; i <= newCount; i++)
|
|
325
|
-
list.push(i);
|
|
322
|
+
for (let i = 1; i <= newCount; i++) list.push(i);
|
|
326
323
|
}
|
|
327
324
|
pageList.value = list;
|
|
328
325
|
if (oldCurrent != null && newCount > 0) {
|
|
@@ -336,13 +333,11 @@ const __sfc__ = defineComponent({
|
|
|
336
333
|
}
|
|
337
334
|
);
|
|
338
335
|
function isHideEllipsis(item, index) {
|
|
339
|
-
if (isNumber(item))
|
|
340
|
-
return false;
|
|
336
|
+
if (isNumber(item)) return false;
|
|
341
337
|
return index === 1 ? isHideEllipsisHead.value : isHideEllipsisTail.value;
|
|
342
338
|
}
|
|
343
339
|
function getMode(item, index) {
|
|
344
|
-
if (isNumber(item))
|
|
345
|
-
return "basic";
|
|
340
|
+
if (isNumber(item)) return "basic";
|
|
346
341
|
return index === 1 ? "head" : "tail";
|
|
347
342
|
}
|
|
348
343
|
function clickItem(item, index) {
|
package/es/picker/Picker.mjs
CHANGED
|
@@ -14,8 +14,7 @@ const MOMENTUM_ALLOW_DISTANCE = 15;
|
|
|
14
14
|
const TRANSITION_DURATION = 200;
|
|
15
15
|
const MOMENTUM_TRANSITION_DURATION = 1e3;
|
|
16
16
|
let sid = 0;
|
|
17
|
-
import { renderSlot as _renderSlot, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, normalizeClass as _normalizeClass, withCtx as _withCtx, createVNode as _createVNode, createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, renderList as _renderList, Fragment as _Fragment, normalizeStyle as _normalizeStyle, withModifiers as _withModifiers, mergeProps as _mergeProps, resolveDynamicComponent as _resolveDynamicComponent, createBlock as _createBlock
|
|
18
|
-
const _withScopeId = (n2) => (_pushScopeId(""), n2 = n2(), _popScopeId(), n2);
|
|
17
|
+
import { renderSlot as _renderSlot, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, normalizeClass as _normalizeClass, withCtx as _withCtx, createVNode as _createVNode, createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, renderList as _renderList, Fragment as _Fragment, normalizeStyle as _normalizeStyle, withModifiers as _withModifiers, mergeProps as _mergeProps, resolveDynamicComponent as _resolveDynamicComponent, createBlock as _createBlock } from "vue";
|
|
19
18
|
const _hoisted_1 = ["onTouchstartPassive", "onTouchmove", "onTouchend"];
|
|
20
19
|
const _hoisted_2 = ["onTransitionend"];
|
|
21
20
|
const _hoisted_3 = ["onClick"];
|
package/es/popup/Popup.mjs
CHANGED
|
@@ -14,8 +14,7 @@ var __spreadValues = (a, b) => {
|
|
|
14
14
|
}
|
|
15
15
|
return a;
|
|
16
16
|
};
|
|
17
|
-
import {
|
|
18
|
-
import { defineComponent, watch, Transition, Teleport, computed } from "vue";
|
|
17
|
+
import { defineComponent, watch, Transition, Teleport, computed, createVNode as _createVNode, vShow as _vShow, mergeProps as _mergeProps, withDirectives as _withDirectives } from "vue";
|
|
19
18
|
import { props } from "./props.mjs";
|
|
20
19
|
import { useLock } from "../context/lock.mjs";
|
|
21
20
|
import { useZIndex } from "../context/zIndex.mjs";
|
package/es/progress/Progress.mjs
CHANGED
|
@@ -9,8 +9,7 @@ const MIN = 0;
|
|
|
9
9
|
const RADIUS = 20;
|
|
10
10
|
const CIRCUMFERENCE = 2 * Math.PI * RADIUS;
|
|
11
11
|
const { name, n, classes } = createNamespace("progress");
|
|
12
|
-
import { normalizeClass as _normalizeClass, normalizeStyle as _normalizeStyle, createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, renderSlot as _renderSlot, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, renderList as _renderList, Fragment as _Fragment
|
|
13
|
-
const _withScopeId = (n2) => (_pushScopeId(""), n2 = n2(), _popScopeId(), n2);
|
|
12
|
+
import { normalizeClass as _normalizeClass, normalizeStyle as _normalizeStyle, createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, renderSlot as _renderSlot, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, renderList as _renderList, Fragment as _Fragment } from "vue";
|
|
14
13
|
const _hoisted_1 = ["aria-valuenow"];
|
|
15
14
|
const _hoisted_2 = ["viewBox"];
|
|
16
15
|
const _hoisted_3 = { key: 0 };
|
package/es/radio/Radio.mjs
CHANGED
|
@@ -11,8 +11,7 @@ import { useForm } from "../form/provide.mjs";
|
|
|
11
11
|
import { call, preventDefault } from "@varlet/shared";
|
|
12
12
|
import { useEventListener, useVModel } from "@varlet/use";
|
|
13
13
|
const { name, n, classes } = createNamespace("radio");
|
|
14
|
-
import { renderSlot as _renderSlot, resolveComponent as _resolveComponent, normalizeClass as _normalizeClass, createVNode as _createVNode, createCommentVNode as _createCommentVNode, normalizeStyle as _normalizeStyle, resolveDirective as _resolveDirective, openBlock as _openBlock, createElementBlock as _createElementBlock, withDirectives as _withDirectives, mergeProps as _mergeProps, createElementVNode as _createElementVNode
|
|
15
|
-
const _withScopeId = (n2) => (_pushScopeId(""), n2 = n2(), _popScopeId(), n2);
|
|
14
|
+
import { renderSlot as _renderSlot, resolveComponent as _resolveComponent, normalizeClass as _normalizeClass, createVNode as _createVNode, createCommentVNode as _createCommentVNode, normalizeStyle as _normalizeStyle, resolveDirective as _resolveDirective, openBlock as _openBlock, createElementBlock as _createElementBlock, withDirectives as _withDirectives, mergeProps as _mergeProps, createElementVNode as _createElementVNode } from "vue";
|
|
16
15
|
const _hoisted_1 = ["tabindex"];
|
|
17
16
|
function __render__(_ctx, _cache) {
|
|
18
17
|
const _component_var_icon = _resolveComponent("var-icon");
|
package/es/rate/Rate.mjs
CHANGED
|
@@ -10,8 +10,7 @@ import { toSizeUnit } from "../utils/elements.mjs";
|
|
|
10
10
|
import { toNumber, call } from "@varlet/shared";
|
|
11
11
|
import { props } from "./props.mjs";
|
|
12
12
|
const { name, n } = createNamespace("rate");
|
|
13
|
-
import { renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, resolveComponent as _resolveComponent, normalizeClass as _normalizeClass, normalizeStyle as _normalizeStyle, createVNode as _createVNode, resolveDirective as _resolveDirective, withDirectives as _withDirectives, createElementVNode as _createElementVNode
|
|
14
|
-
const _withScopeId = (n2) => (_pushScopeId(""), n2 = n2(), _popScopeId(), n2);
|
|
13
|
+
import { renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, resolveComponent as _resolveComponent, normalizeClass as _normalizeClass, normalizeStyle as _normalizeStyle, createVNode as _createVNode, resolveDirective as _resolveDirective, withDirectives as _withDirectives, createElementVNode as _createElementVNode } from "vue";
|
|
15
14
|
const _hoisted_1 = ["onClick"];
|
|
16
15
|
function __render__(_ctx, _cache) {
|
|
17
16
|
const _component_var_icon = _resolveComponent("var-icon");
|
package/es/result/Empty.mjs
CHANGED
|
@@ -1,22 +1,19 @@
|
|
|
1
1
|
import { defineComponent } from "vue";
|
|
2
|
-
import { createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock
|
|
3
|
-
const _withScopeId = (n) => (_pushScopeId(""), n = n(), _popScopeId(), n);
|
|
2
|
+
import { createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock } from "vue";
|
|
4
3
|
const _hoisted_1 = { viewBox: "-4 -4 32 32" };
|
|
5
|
-
const _hoisted_2 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ _createElementVNode(
|
|
6
|
-
"path",
|
|
7
|
-
{
|
|
8
|
-
fill: "currentColor",
|
|
9
|
-
d: "M2,10.96C1.5,10.68 1.35,10.07 1.63,9.59L3.13,7C3.24,6.8 3.41,6.66 3.6,6.58L11.43,2.18C11.59,2.06 11.79,2 12,2C12.21,2 12.41,2.06 12.57,2.18L20.47,6.62C20.66,6.72 20.82,6.88 20.91,7.08L22.36,9.6C22.64,10.08 22.47,10.69 22,10.96L21,11.54V16.5C21,16.88 20.79,17.21 20.47,17.38L12.57,21.82C12.41,21.94 12.21,22 12,22C11.79,22 11.59,21.94 11.43,21.82L3.53,17.38C3.21,17.21 3,16.88 3,16.5V10.96C2.7,11.13 2.32,11.14 2,10.96M12,4.15V4.15L12,10.85V10.85L17.96,7.5L12,4.15M5,15.91L11,19.29V12.58L5,9.21V15.91M19,15.91V12.69L14,15.59C13.67,15.77 13.3,15.76 13,15.6V19.29L19,15.91M13.85,13.36L20.13,9.73L19.55,8.72L13.27,12.35L13.85,13.36Z"
|
|
10
|
-
},
|
|
11
|
-
null,
|
|
12
|
-
-1
|
|
13
|
-
/* HOISTED */
|
|
14
|
-
));
|
|
15
|
-
const _hoisted_3 = [
|
|
16
|
-
_hoisted_2
|
|
17
|
-
];
|
|
18
4
|
function __render__(_ctx, _cache) {
|
|
19
|
-
return _openBlock(), _createElementBlock("svg", _hoisted_1, [
|
|
5
|
+
return _openBlock(), _createElementBlock("svg", _hoisted_1, _cache[0] || (_cache[0] = [
|
|
6
|
+
_createElementVNode(
|
|
7
|
+
"path",
|
|
8
|
+
{
|
|
9
|
+
fill: "currentColor",
|
|
10
|
+
d: "M2,10.96C1.5,10.68 1.35,10.07 1.63,9.59L3.13,7C3.24,6.8 3.41,6.66 3.6,6.58L11.43,2.18C11.59,2.06 11.79,2 12,2C12.21,2 12.41,2.06 12.57,2.18L20.47,6.62C20.66,6.72 20.82,6.88 20.91,7.08L22.36,9.6C22.64,10.08 22.47,10.69 22,10.96L21,11.54V16.5C21,16.88 20.79,17.21 20.47,17.38L12.57,21.82C12.41,21.94 12.21,22 12,22C11.79,22 11.59,21.94 11.43,21.82L3.53,17.38C3.21,17.21 3,16.88 3,16.5V10.96C2.7,11.13 2.32,11.14 2,10.96M12,4.15V4.15L12,10.85V10.85L17.96,7.5L12,4.15M5,15.91L11,19.29V12.58L5,9.21V15.91M19,15.91V12.69L14,15.59C13.67,15.77 13.3,15.76 13,15.6V19.29L19,15.91M13.85,13.36L20.13,9.73L19.55,8.72L13.27,12.35L13.85,13.36Z"
|
|
11
|
+
},
|
|
12
|
+
null,
|
|
13
|
+
-1
|
|
14
|
+
/* HOISTED */
|
|
15
|
+
)
|
|
16
|
+
]));
|
|
20
17
|
}
|
|
21
18
|
const __sfc__ = defineComponent({});
|
|
22
19
|
__sfc__.render = __render__;
|
package/es/result/Error.mjs
CHANGED
|
@@ -1,22 +1,19 @@
|
|
|
1
1
|
import { defineComponent } from "vue";
|
|
2
|
-
import { createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock
|
|
3
|
-
const _withScopeId = (n) => (_pushScopeId(""), n = n(), _popScopeId(), n);
|
|
2
|
+
import { createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock } from "vue";
|
|
4
3
|
const _hoisted_1 = {
|
|
5
4
|
xmlns: "http://www.w3.org/2000/svg",
|
|
6
5
|
viewBox: "2 2 20 20"
|
|
7
6
|
};
|
|
8
|
-
const _hoisted_2 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ _createElementVNode(
|
|
9
|
-
"path",
|
|
10
|
-
{ 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" },
|
|
11
|
-
null,
|
|
12
|
-
-1
|
|
13
|
-
/* HOISTED */
|
|
14
|
-
));
|
|
15
|
-
const _hoisted_3 = [
|
|
16
|
-
_hoisted_2
|
|
17
|
-
];
|
|
18
7
|
function __render__(_ctx, _cache) {
|
|
19
|
-
return _openBlock(), _createElementBlock("svg", _hoisted_1, [
|
|
8
|
+
return _openBlock(), _createElementBlock("svg", _hoisted_1, _cache[0] || (_cache[0] = [
|
|
9
|
+
_createElementVNode(
|
|
10
|
+
"path",
|
|
11
|
+
{ 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" },
|
|
12
|
+
null,
|
|
13
|
+
-1
|
|
14
|
+
/* HOISTED */
|
|
15
|
+
)
|
|
16
|
+
]));
|
|
20
17
|
}
|
|
21
18
|
const __sfc__ = defineComponent({});
|
|
22
19
|
__sfc__.render = __render__;
|
package/es/result/Info.mjs
CHANGED
|
@@ -1,22 +1,19 @@
|
|
|
1
1
|
import { defineComponent } from "vue";
|
|
2
|
-
import { createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock
|
|
3
|
-
const _withScopeId = (n) => (_pushScopeId(""), n = n(), _popScopeId(), n);
|
|
2
|
+
import { createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock } from "vue";
|
|
4
3
|
const _hoisted_1 = {
|
|
5
4
|
xmlns: "http://www.w3.org/2000/svg",
|
|
6
5
|
viewBox: "2 3.6 20 20"
|
|
7
6
|
};
|
|
8
|
-
const _hoisted_2 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ _createElementVNode(
|
|
9
|
-
"path",
|
|
10
|
-
{ d: "M11,9H13V7H11M11,20H13V11H11V20Z" },
|
|
11
|
-
null,
|
|
12
|
-
-1
|
|
13
|
-
/* HOISTED */
|
|
14
|
-
));
|
|
15
|
-
const _hoisted_3 = [
|
|
16
|
-
_hoisted_2
|
|
17
|
-
];
|
|
18
7
|
function __render__(_ctx, _cache) {
|
|
19
|
-
return _openBlock(), _createElementBlock("svg", _hoisted_1, [
|
|
8
|
+
return _openBlock(), _createElementBlock("svg", _hoisted_1, _cache[0] || (_cache[0] = [
|
|
9
|
+
_createElementVNode(
|
|
10
|
+
"path",
|
|
11
|
+
{ d: "M11,9H13V7H11M11,20H13V11H11V20Z" },
|
|
12
|
+
null,
|
|
13
|
+
-1
|
|
14
|
+
/* HOISTED */
|
|
15
|
+
)
|
|
16
|
+
]));
|
|
20
17
|
}
|
|
21
18
|
const __sfc__ = defineComponent({});
|
|
22
19
|
__sfc__.render = __render__;
|
package/es/result/Question.mjs
CHANGED
|
@@ -1,22 +1,19 @@
|
|
|
1
1
|
import { defineComponent } from "vue";
|
|
2
|
-
import { createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock
|
|
3
|
-
const _withScopeId = (n) => (_pushScopeId(""), n = n(), _popScopeId(), n);
|
|
2
|
+
import { createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock } from "vue";
|
|
4
3
|
const _hoisted_1 = {
|
|
5
4
|
xmlns: "http://www.w3.org/2000/svg",
|
|
6
5
|
viewBox: "-3 -3 30 30"
|
|
7
6
|
};
|
|
8
|
-
const _hoisted_2 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ _createElementVNode(
|
|
9
|
-
"path",
|
|
10
|
-
{ 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" },
|
|
11
|
-
null,
|
|
12
|
-
-1
|
|
13
|
-
/* HOISTED */
|
|
14
|
-
));
|
|
15
|
-
const _hoisted_3 = [
|
|
16
|
-
_hoisted_2
|
|
17
|
-
];
|
|
18
7
|
function __render__(_ctx, _cache) {
|
|
19
|
-
return _openBlock(), _createElementBlock("svg", _hoisted_1, [
|
|
8
|
+
return _openBlock(), _createElementBlock("svg", _hoisted_1, _cache[0] || (_cache[0] = [
|
|
9
|
+
_createElementVNode(
|
|
10
|
+
"path",
|
|
11
|
+
{ 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" },
|
|
12
|
+
null,
|
|
13
|
+
-1
|
|
14
|
+
/* HOISTED */
|
|
15
|
+
)
|
|
16
|
+
]));
|
|
20
17
|
}
|
|
21
18
|
const __sfc__ = defineComponent({});
|
|
22
19
|
__sfc__.render = __render__;
|
package/es/result/Warning.mjs
CHANGED
|
@@ -1,22 +1,19 @@
|
|
|
1
1
|
import { defineComponent } from "vue";
|
|
2
|
-
import { createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock
|
|
3
|
-
const _withScopeId = (n) => (_pushScopeId(""), n = n(), _popScopeId(), n);
|
|
2
|
+
import { createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock } from "vue";
|
|
4
3
|
const _hoisted_1 = {
|
|
5
4
|
xmlns: "http://www.w3.org/2000/svg",
|
|
6
5
|
viewBox: "-6 -4 35 35"
|
|
7
6
|
};
|
|
8
|
-
const _hoisted_2 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ _createElementVNode(
|
|
9
|
-
"path",
|
|
10
|
-
{ 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" },
|
|
11
|
-
null,
|
|
12
|
-
-1
|
|
13
|
-
/* HOISTED */
|
|
14
|
-
));
|
|
15
|
-
const _hoisted_3 = [
|
|
16
|
-
_hoisted_2
|
|
17
|
-
];
|
|
18
7
|
function __render__(_ctx, _cache) {
|
|
19
|
-
return _openBlock(), _createElementBlock("svg", _hoisted_1, [
|
|
8
|
+
return _openBlock(), _createElementBlock("svg", _hoisted_1, _cache[0] || (_cache[0] = [
|
|
9
|
+
_createElementVNode(
|
|
10
|
+
"path",
|
|
11
|
+
{ 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" },
|
|
12
|
+
null,
|
|
13
|
+
-1
|
|
14
|
+
/* HOISTED */
|
|
15
|
+
)
|
|
16
|
+
]));
|
|
20
17
|
}
|
|
21
18
|
const __sfc__ = defineComponent({});
|
|
22
19
|
__sfc__.render = __render__;
|
package/es/select/Select.mjs
CHANGED
|
@@ -15,8 +15,7 @@ import { error } from "../utils/logger.mjs";
|
|
|
15
15
|
import { useSelectController } from "./useSelectController.mjs";
|
|
16
16
|
import { useEventListener } from "@varlet/use";
|
|
17
17
|
const { name, n, classes } = createNamespace("select");
|
|
18
|
-
import { renderSlot as _renderSlot, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, resolveComponent as _resolveComponent, createVNode as _createVNode, withModifiers as _withModifiers, normalizeClass as _normalizeClass, withCtx as _withCtx, createBlock as _createBlock, createCommentVNode as _createCommentVNode, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, createElementVNode as _createElementVNode, normalizeStyle as _normalizeStyle, normalizeProps as _normalizeProps, guardReactiveProps as _guardReactiveProps, createSlots as _createSlots
|
|
19
|
-
const _withScopeId = (n2) => (_pushScopeId(""), n2 = n2(), _popScopeId(), n2);
|
|
18
|
+
import { renderSlot as _renderSlot, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, resolveComponent as _resolveComponent, createVNode as _createVNode, withModifiers as _withModifiers, normalizeClass as _normalizeClass, withCtx as _withCtx, createBlock as _createBlock, createCommentVNode as _createCommentVNode, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, createElementVNode as _createElementVNode, normalizeStyle as _normalizeStyle, normalizeProps as _normalizeProps, guardReactiveProps as _guardReactiveProps, createSlots as _createSlots } from "vue";
|
|
20
19
|
const _hoisted_1 = ["tabindex"];
|
|
21
20
|
function __render__(_ctx, _cache) {
|
|
22
21
|
const _component_maybe_v_node = _resolveComponent("maybe-v-node");
|