@varlet/ui 2.12.3 → 2.13.0-alpha.1689346411483
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/drag/Drag.mjs +257 -0
- package/es/drag/DragSfc.css +0 -0
- package/es/drag/drag.css +1 -0
- package/es/drag/index.mjs +7 -0
- package/es/drag/props.mjs +30 -0
- package/es/drag/style/index.mjs +3 -0
- package/es/form-details/FormDetails.mjs +5 -5
- package/es/index.bundle.mjs +7 -1
- package/es/index.mjs +6 -1
- package/es/input/Input.mjs +7 -1
- package/es/popup/props.mjs +1 -1
- package/es/slider/Slider.mjs +1 -1
- package/es/snackbar/props.mjs +1 -14
- package/es/style.css +1 -1
- package/es/style.mjs +1 -0
- package/es/uploader/Uploader.mjs +8 -2
- package/es/varlet.esm.js +5533 -5287
- package/highlight/web-types.en-US.json +101 -3
- package/highlight/web-types.zh-CN.json +121 -14
- package/lib/style.css +1 -1
- package/lib/varlet.cjs.js +832 -496
- package/package.json +6 -6
- package/types/drag.d.ts +36 -0
- package/types/index.d.ts +2 -0
- package/types/input.d.ts +1 -0
- package/types/uploader.d.ts +1 -0
- package/umd/varlet.js +5 -5
package/es/style.mjs
CHANGED
|
@@ -24,6 +24,7 @@ import './counter/style/index.mjs'
|
|
|
24
24
|
import './date-picker/style/index.mjs'
|
|
25
25
|
import './dialog/style/index.mjs'
|
|
26
26
|
import './divider/style/index.mjs'
|
|
27
|
+
import './drag/style/index.mjs'
|
|
27
28
|
import './ellipsis/style/index.mjs'
|
|
28
29
|
import './fab/style/index.mjs'
|
|
29
30
|
import './form/style/index.mjs'
|
package/es/uploader/Uploader.mjs
CHANGED
|
@@ -19,7 +19,7 @@ var {
|
|
|
19
19
|
classes
|
|
20
20
|
} = createNamespace('uploader');
|
|
21
21
|
var fid = 0;
|
|
22
|
-
import { renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, toDisplayString as _toDisplayString, normalizeClass as _normalizeClass, createElementVNode as _createElementVNode, resolveComponent as _resolveComponent, createVNode as _createVNode, withModifiers as _withModifiers, createCommentVNode as _createCommentVNode, normalizeStyle as _normalizeStyle, resolveDirective as _resolveDirective, withDirectives as _withDirectives, renderSlot as _renderSlot, withCtx as _withCtx, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from "vue";
|
|
22
|
+
import { renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, toDisplayString as _toDisplayString, normalizeClass as _normalizeClass, createElementVNode as _createElementVNode, resolveComponent as _resolveComponent, createVNode as _createVNode, withModifiers as _withModifiers, createCommentVNode as _createCommentVNode, normalizeStyle as _normalizeStyle, resolveDirective as _resolveDirective, withDirectives as _withDirectives, renderSlot as _renderSlot, withCtx as _withCtx, createSlots as _createSlots, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from "vue";
|
|
23
23
|
var _withScopeId = n => (_pushScopeId(""), n = n(), _popScopeId(), n);
|
|
24
24
|
var _hoisted_1 = ["onClick"];
|
|
25
25
|
var _hoisted_2 = ["onClick"];
|
|
@@ -98,7 +98,13 @@ function __render__(_ctx, _cache) {
|
|
|
98
98
|
}], [_directive_hover, _ctx.handleHovering, "desktop"]]) : _createCommentVNode("v-if", true)], 2 /* CLASS */), _createVNode(_component_var_form_details, {
|
|
99
99
|
"error-message": _ctx.errorMessage,
|
|
100
100
|
"extra-message": _ctx.maxlengthText
|
|
101
|
-
},
|
|
101
|
+
}, _createSlots({
|
|
102
|
+
_: 2 /* DYNAMIC */
|
|
103
|
+
}, [_ctx.$slots['extra-message'] ? {
|
|
104
|
+
name: "extra-message",
|
|
105
|
+
fn: _withCtx(() => [_renderSlot(_ctx.$slots, "extra-message")]),
|
|
106
|
+
key: "0"
|
|
107
|
+
} : undefined]), 1032 /* PROPS, DYNAMIC_SLOTS */, ["error-message", "extra-message"]), _createVNode(_component_var_popup, {
|
|
102
108
|
class: _normalizeClass(_ctx.n('preview')),
|
|
103
109
|
"var-uploader-cover": "",
|
|
104
110
|
position: "center",
|