snail.vue 2.0.20 → 2.0.21
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/LICENSE +21 -21
- package/README.md +86 -86
- package/dist/snail.vue.d.ts +102 -2
- package/dist/snail.vue.js +286 -130
- package/dist/snail.vue.umd.js +286 -130
- package/dist/styles/snail.vue.vue.css +51 -47
- package/package.json +31 -31
- package/vue.code-snippets +35 -35
package/dist/snail.vue.umd.js
CHANGED
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.SnailVue = global.SnailVue || {}, global.Vue, global.Snail, global.SnailView));
|
|
6
6
|
})(this, (function (exports, vue, snail_core, snail_view) { 'use strict';
|
|
7
7
|
|
|
8
|
-
const _hoisted_1$
|
|
9
|
-
var _sfc_main$
|
|
8
|
+
const _hoisted_1$o = ["title"];
|
|
9
|
+
var _sfc_main$F = vue.defineComponent({
|
|
10
10
|
...{
|
|
11
11
|
name: "Button",
|
|
12
12
|
inheritAttrs: true
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
23
23
|
class: vue.normalizeClass(["snail-button", [__props.size, __props.type]]),
|
|
24
24
|
title: __props.title
|
|
25
|
-
}, [vue.renderSlot(_ctx.$slots, "default", {}, () => [_cache[0] || (_cache[0] = vue.createTextVNode("按钮", -1))])], 10, _hoisted_1$
|
|
25
|
+
}, [vue.renderSlot(_ctx.$slots, "default", {}, () => [_cache[0] || (_cache[0] = vue.createTextVNode("按钮", -1))])], 10, _hoisted_1$o);
|
|
26
26
|
};
|
|
27
27
|
}
|
|
28
28
|
});
|
|
@@ -65,10 +65,10 @@
|
|
|
65
65
|
}
|
|
66
66
|
}
|
|
67
67
|
|
|
68
|
-
const _hoisted_1$
|
|
69
|
-
const _hoisted_2$
|
|
68
|
+
const _hoisted_1$n = ["viewBox"];
|
|
69
|
+
const _hoisted_2$f = ["textContent"];
|
|
70
70
|
const _hoisted_3$a = ["d"];
|
|
71
|
-
var _sfc_main$
|
|
71
|
+
var _sfc_main$E = vue.defineComponent({
|
|
72
72
|
__name: "icon",
|
|
73
73
|
props: {
|
|
74
74
|
title: {},
|
|
@@ -123,7 +123,7 @@
|
|
|
123
123
|
onMouseleave: _cache[1] || (_cache[1] = $event => isMouseEnterRef.value = false)
|
|
124
124
|
}), [vue.createElementVNode("title", {
|
|
125
125
|
textContent: vue.toDisplayString(__props.title || "")
|
|
126
|
-
}, null, 8, _hoisted_2$
|
|
126
|
+
}, null, 8, _hoisted_2$f), __props.custom == true ? vue.renderSlot(_ctx.$slots, "default", {
|
|
127
127
|
key: 0
|
|
128
128
|
}) : (vue.openBlock(true), vue.createElementBlock(vue.Fragment, {
|
|
129
129
|
key: 1
|
|
@@ -131,16 +131,16 @@
|
|
|
131
131
|
return vue.openBlock(), vue.createElementBlock("path", {
|
|
132
132
|
d
|
|
133
133
|
}, null, 8, _hoisted_3$a);
|
|
134
|
-
}), 256))], 16, _hoisted_1$
|
|
134
|
+
}), 256))], 16, _hoisted_1$n);
|
|
135
135
|
};
|
|
136
136
|
}
|
|
137
137
|
});
|
|
138
138
|
|
|
139
|
-
const _hoisted_1$
|
|
140
|
-
const _hoisted_2$
|
|
139
|
+
const _hoisted_1$m = ["title", "onClick"];
|
|
140
|
+
const _hoisted_2$e = ["type", "checked"];
|
|
141
141
|
const _hoisted_3$9 = ["textContent"];
|
|
142
142
|
const _hoisted_4$7 = ["textContent"];
|
|
143
|
-
var _sfc_main$
|
|
143
|
+
var _sfc_main$D = vue.defineComponent({
|
|
144
144
|
...{
|
|
145
145
|
name: "Choose",
|
|
146
146
|
inheritAttrs: true
|
|
@@ -216,10 +216,10 @@
|
|
|
216
216
|
key: 0,
|
|
217
217
|
type: vue.unref(type),
|
|
218
218
|
checked: node.selected
|
|
219
|
-
}, null, 8, _hoisted_2$
|
|
219
|
+
}, null, 8, _hoisted_2$e)) : vue.unref(mode) == "beautiful" ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
220
220
|
key: 1,
|
|
221
221
|
class: vue.normalizeClass(["status", [node.selected ? "selected" : ""]])
|
|
222
|
-
}, [node.selected ? (vue.openBlock(), vue.createBlock(_sfc_main$
|
|
222
|
+
}, [node.selected ? (vue.openBlock(), vue.createBlock(_sfc_main$E, {
|
|
223
223
|
key: 0,
|
|
224
224
|
type: "success",
|
|
225
225
|
size: 12,
|
|
@@ -232,7 +232,7 @@
|
|
|
232
232
|
key: 3,
|
|
233
233
|
class: "item-des",
|
|
234
234
|
textContent: vue.toDisplayString(node.item.description)
|
|
235
|
-
}, null, 8, _hoisted_4$7)) : vue.createCommentVNode("", true)], 14, _hoisted_1$
|
|
235
|
+
}, null, 8, _hoisted_4$7)) : vue.createCommentVNode("", true)], 14, _hoisted_1$m);
|
|
236
236
|
}), 128))], 2);
|
|
237
237
|
};
|
|
238
238
|
}
|
|
@@ -242,7 +242,7 @@
|
|
|
242
242
|
|
|
243
243
|
addLink("/styles/snail.vue.vue.css");
|
|
244
244
|
|
|
245
|
-
var _sfc_main$
|
|
245
|
+
var _sfc_main$C = vue.defineComponent({
|
|
246
246
|
...{
|
|
247
247
|
name: "Footer",
|
|
248
248
|
inheritAttrs: true
|
|
@@ -273,13 +273,13 @@
|
|
|
273
273
|
class: vue.normalizeClass(["snail-footer", {
|
|
274
274
|
"start-divider": __props.divider
|
|
275
275
|
}, __props.align || "right"])
|
|
276
|
-
}, [vue.renderSlot(_ctx.$slots, "default", {}, () => [__props.cancelDisabled != true ? (vue.openBlock(), vue.createBlock(_sfc_main$
|
|
276
|
+
}, [vue.renderSlot(_ctx.$slots, "default", {}, () => [__props.cancelDisabled != true ? (vue.openBlock(), vue.createBlock(_sfc_main$F, {
|
|
277
277
|
key: 0,
|
|
278
278
|
size: "max",
|
|
279
279
|
type: "default",
|
|
280
280
|
onClick: _cache[0] || (_cache[0] = $event => emits("cancel")),
|
|
281
281
|
textContent: vue.toDisplayString(__props.cancelName || "取消")
|
|
282
|
-
}, null, 8, ["textContent"])) : vue.createCommentVNode("", true), __props.confirmDisabled != true ? (vue.openBlock(), vue.createBlock(_sfc_main$
|
|
282
|
+
}, null, 8, ["textContent"])) : vue.createCommentVNode("", true), __props.confirmDisabled != true ? (vue.openBlock(), vue.createBlock(_sfc_main$F, {
|
|
283
283
|
key: 1,
|
|
284
284
|
size: "max",
|
|
285
285
|
type: "primary",
|
|
@@ -290,8 +290,8 @@
|
|
|
290
290
|
}
|
|
291
291
|
});
|
|
292
292
|
|
|
293
|
-
const _hoisted_1$
|
|
294
|
-
var _sfc_main$
|
|
293
|
+
const _hoisted_1$l = ["textContent"];
|
|
294
|
+
var _sfc_main$B = vue.defineComponent({
|
|
295
295
|
...{
|
|
296
296
|
name: "Header",
|
|
297
297
|
inheritAttrs: true
|
|
@@ -330,7 +330,7 @@
|
|
|
330
330
|
key: 0,
|
|
331
331
|
textContent: vue.toDisplayString(__props.title),
|
|
332
332
|
class: vue.normalizeClass(["header-title", __props.titleAlign])
|
|
333
|
-
}, null, 10, _hoisted_1$
|
|
333
|
+
}, null, 10, _hoisted_1$l)) : vue.createCommentVNode("", true), vue.renderSlot(_ctx.$slots, "default"), __props.closeDisabled != true ? (vue.openBlock(), vue.createBlock(_sfc_main$E, {
|
|
334
334
|
key: 1,
|
|
335
335
|
class: "close-icon",
|
|
336
336
|
type: "close",
|
|
@@ -343,8 +343,8 @@
|
|
|
343
343
|
}
|
|
344
344
|
});
|
|
345
345
|
|
|
346
|
-
const _hoisted_1$
|
|
347
|
-
const _hoisted_2$
|
|
346
|
+
const _hoisted_1$k = ["textContent"];
|
|
347
|
+
const _hoisted_2$d = {
|
|
348
348
|
key: 0,
|
|
349
349
|
class: "required",
|
|
350
350
|
textContent: "*"
|
|
@@ -354,7 +354,7 @@
|
|
|
354
354
|
};
|
|
355
355
|
const _hoisted_4$6 = ["type", "value", "readonly", "placeholder", "title"];
|
|
356
356
|
const _hoisted_5$4 = ["title"];
|
|
357
|
-
var _sfc_main$
|
|
357
|
+
var _sfc_main$A = vue.defineComponent({
|
|
358
358
|
...{
|
|
359
359
|
name: "Input",
|
|
360
360
|
inheritAttrs: true
|
|
@@ -406,7 +406,7 @@
|
|
|
406
406
|
}, [vue.createElementVNode("span", {
|
|
407
407
|
class: "text",
|
|
408
408
|
textContent: vue.toDisplayString(__props.title)
|
|
409
|
-
}, null, 8, _hoisted_1$
|
|
409
|
+
}, null, 8, _hoisted_1$k), __props.readonly != true && __props.required == true ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_2$d)) : vue.createCommentVNode("", true)], 4)) : vue.createCommentVNode("", true), vue.createElementVNode("div", _hoisted_3$8, [vue.createElementVNode("input", {
|
|
410
410
|
ref: "input-el",
|
|
411
411
|
type: __props.type || "text",
|
|
412
412
|
value: inputModel.value,
|
|
@@ -419,7 +419,7 @@
|
|
|
419
419
|
key: 0,
|
|
420
420
|
class: "validate",
|
|
421
421
|
title: validateRef.value
|
|
422
|
-
}, [vue.createVNode(_sfc_main$
|
|
422
|
+
}, [vue.createVNode(_sfc_main$E, {
|
|
423
423
|
type: "error",
|
|
424
424
|
button: "",
|
|
425
425
|
size: 16,
|
|
@@ -629,11 +629,11 @@
|
|
|
629
629
|
return formatter;
|
|
630
630
|
}
|
|
631
631
|
|
|
632
|
-
const _hoisted_1$
|
|
632
|
+
const _hoisted_1$j = {
|
|
633
633
|
key: 0,
|
|
634
634
|
class: "number-prefix"
|
|
635
635
|
};
|
|
636
|
-
const _hoisted_2$
|
|
636
|
+
const _hoisted_2$c = ["textContent"];
|
|
637
637
|
const _hoisted_3$7 = ["inputmode", "placeholder", "title"];
|
|
638
638
|
const _hoisted_4$5 = {
|
|
639
639
|
key: 1,
|
|
@@ -642,7 +642,7 @@
|
|
|
642
642
|
const _hoisted_5$3 = ["textContent"];
|
|
643
643
|
const _hoisted_6$2 = ["title", "textContent"];
|
|
644
644
|
const _hoisted_7$1 = ["title", "textContent"];
|
|
645
|
-
var _sfc_main$
|
|
645
|
+
var _sfc_main$z = vue.defineComponent({
|
|
646
646
|
__name: "number",
|
|
647
647
|
props: vue.mergeModels({
|
|
648
648
|
placeholder: {},
|
|
@@ -789,10 +789,10 @@
|
|
|
789
789
|
"has-prefix": vue.unref(hasPrefix),
|
|
790
790
|
"has-suffix": vue.unref(hasSuffix)
|
|
791
791
|
}])
|
|
792
|
-
}, [vue.unref(hasPrefix) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
792
|
+
}, [vue.unref(hasPrefix) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$j, [vue.createElementVNode("span", {
|
|
793
793
|
class: "ellipsis",
|
|
794
794
|
textContent: vue.toDisplayString(vue.unref(prefix))
|
|
795
|
-
}, null, 8, _hoisted_2$
|
|
795
|
+
}, null, 8, _hoisted_2$c)])) : vue.createCommentVNode("", true), vue.createElementVNode("div", {
|
|
796
796
|
class: vue.normalizeClass(["input-panel", vue.unref(controls)])
|
|
797
797
|
}, [vue.withDirectives(vue.createElementVNode("input", {
|
|
798
798
|
type: "text",
|
|
@@ -809,14 +809,14 @@
|
|
|
809
809
|
}, [vue.createElementVNode("div", {
|
|
810
810
|
class: "controls default subtract",
|
|
811
811
|
onClick: _cache[4] || (_cache[4] = $event => onStepClick(false))
|
|
812
|
-
}, [vue.createVNode(_sfc_main$
|
|
812
|
+
}, [vue.createVNode(_sfc_main$E, {
|
|
813
813
|
type: "subtract",
|
|
814
814
|
button: "",
|
|
815
815
|
size: 20
|
|
816
816
|
})]), vue.createElementVNode("div", {
|
|
817
817
|
class: "controls default plus",
|
|
818
818
|
onClick: _cache[5] || (_cache[5] = $event => onStepClick(true))
|
|
819
|
-
}, [vue.createVNode(_sfc_main$
|
|
819
|
+
}, [vue.createVNode(_sfc_main$E, {
|
|
820
820
|
type: "plus",
|
|
821
821
|
button: "",
|
|
822
822
|
size: 20
|
|
@@ -825,7 +825,7 @@
|
|
|
825
825
|
}, [vue.createElementVNode("div", {
|
|
826
826
|
class: "controls right plus",
|
|
827
827
|
onClick: _cache[6] || (_cache[6] = $event => onStepClick(true))
|
|
828
|
-
}, [vue.createVNode(_sfc_main$
|
|
828
|
+
}, [vue.createVNode(_sfc_main$E, {
|
|
829
829
|
type: "arrow",
|
|
830
830
|
button: "",
|
|
831
831
|
size: 20,
|
|
@@ -833,7 +833,7 @@
|
|
|
833
833
|
})]), vue.createElementVNode("div", {
|
|
834
834
|
class: "controls right subtract",
|
|
835
835
|
onClick: _cache[7] || (_cache[7] = $event => onStepClick(false))
|
|
836
|
-
}, [vue.createVNode(_sfc_main$
|
|
836
|
+
}, [vue.createVNode(_sfc_main$E, {
|
|
837
837
|
type: "arrow",
|
|
838
838
|
button: "",
|
|
839
839
|
size: 20,
|
|
@@ -856,8 +856,8 @@
|
|
|
856
856
|
}
|
|
857
857
|
});
|
|
858
858
|
|
|
859
|
-
const _hoisted_1$
|
|
860
|
-
var _sfc_main$
|
|
859
|
+
const _hoisted_1$i = ["placeholder", "readonly"];
|
|
860
|
+
var _sfc_main$y = vue.defineComponent({
|
|
861
861
|
...{
|
|
862
862
|
name: "Search",
|
|
863
863
|
inheritAttrs: true
|
|
@@ -902,9 +902,9 @@
|
|
|
902
902
|
readonly: __props.readonly,
|
|
903
903
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = $event => textModel.value = $event),
|
|
904
904
|
onKeyup: _cache[1] || (_cache[1] = $event => onSearch($event))
|
|
905
|
-
}, null, 40, _hoisted_1$
|
|
905
|
+
}, null, 40, _hoisted_1$i), [[vue.vModelText, textModel.value, void 0, {
|
|
906
906
|
trim: true
|
|
907
|
-
}]]), vue.createElementVNode("div", null, [vue.createVNode(_sfc_main$
|
|
907
|
+
}]]), vue.createElementVNode("div", null, [vue.createVNode(_sfc_main$E, {
|
|
908
908
|
class: "search-button",
|
|
909
909
|
custom: "",
|
|
910
910
|
button: "",
|
|
@@ -1129,11 +1129,11 @@
|
|
|
1129
1129
|
}
|
|
1130
1130
|
}
|
|
1131
1131
|
|
|
1132
|
-
const _hoisted_1$
|
|
1132
|
+
const _hoisted_1$h = {
|
|
1133
1133
|
class: "snail-confirm flex-column"
|
|
1134
1134
|
};
|
|
1135
|
-
const _hoisted_2$
|
|
1136
|
-
var _sfc_main$
|
|
1135
|
+
const _hoisted_2$b = ["innerHTML"];
|
|
1136
|
+
var _sfc_main$x = vue.defineComponent({
|
|
1137
1137
|
...{
|
|
1138
1138
|
name: "ConfirmContainer",
|
|
1139
1139
|
inheritAttrs: true
|
|
@@ -1161,14 +1161,14 @@
|
|
|
1161
1161
|
},
|
|
1162
1162
|
setup(__props) {
|
|
1163
1163
|
return (_ctx, _cache) => {
|
|
1164
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
1164
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$h, [vue.createVNode(_sfc_main$B, {
|
|
1165
1165
|
"use-to": "dialog",
|
|
1166
1166
|
title: __props.title || "提示",
|
|
1167
1167
|
onClose: _cache[0] || (_cache[0] = $event => __props.closePopup(false))
|
|
1168
1168
|
}, null, 8, ["title"]), vue.createElementVNode("div", {
|
|
1169
1169
|
class: "confirm-body",
|
|
1170
1170
|
innerHTML: __props.message || "请确认?"
|
|
1171
|
-
}, null, 8, _hoisted_2$
|
|
1171
|
+
}, null, 8, _hoisted_2$b), vue.createVNode(_sfc_main$C, {
|
|
1172
1172
|
align: "right",
|
|
1173
1173
|
"cancel-name": __props.cancelName,
|
|
1174
1174
|
"cancel-disabled": __props.cancelDisabled,
|
|
@@ -1229,7 +1229,7 @@
|
|
|
1229
1229
|
});
|
|
1230
1230
|
for (var key in MOTION) snail_core.hasOwnProperty(MOTION, key) && Object.freeze(MOTION[key]);
|
|
1231
1231
|
|
|
1232
|
-
var _sfc_main$
|
|
1232
|
+
var _sfc_main$w = vue.defineComponent({
|
|
1233
1233
|
__name: "motion",
|
|
1234
1234
|
props: {
|
|
1235
1235
|
multiple: {
|
|
@@ -1278,7 +1278,7 @@
|
|
|
1278
1278
|
}
|
|
1279
1279
|
});
|
|
1280
1280
|
|
|
1281
|
-
var _sfc_main$
|
|
1281
|
+
var _sfc_main$v = vue.defineComponent({
|
|
1282
1282
|
...{
|
|
1283
1283
|
name: "Loading",
|
|
1284
1284
|
inheritAttrs: true
|
|
@@ -1302,7 +1302,7 @@
|
|
|
1302
1302
|
},
|
|
1303
1303
|
setup(__props) {
|
|
1304
1304
|
return (_ctx, _cache) => {
|
|
1305
|
-
return vue.openBlock(), vue.createBlock(_sfc_main$
|
|
1305
|
+
return vue.openBlock(), vue.createBlock(_sfc_main$w, {
|
|
1306
1306
|
effect: vue.unref(MOTION).fade
|
|
1307
1307
|
}, {
|
|
1308
1308
|
default: vue.withCtx(() => [__props.show ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
@@ -1317,7 +1317,7 @@
|
|
|
1317
1317
|
}
|
|
1318
1318
|
});
|
|
1319
1319
|
|
|
1320
|
-
var _sfc_main$
|
|
1320
|
+
var _sfc_main$u = vue.defineComponent({
|
|
1321
1321
|
...{
|
|
1322
1322
|
name: "Dynamic",
|
|
1323
1323
|
inheritAttrs: false
|
|
@@ -1341,7 +1341,7 @@
|
|
|
1341
1341
|
const loadingComponent = vue.defineComponent({
|
|
1342
1342
|
inheritAttrs: false,
|
|
1343
1343
|
components: {
|
|
1344
|
-
Loading: _sfc_main$
|
|
1344
|
+
Loading: _sfc_main$v
|
|
1345
1345
|
},
|
|
1346
1346
|
template: "<Loading :mask-disabled='true' />"
|
|
1347
1347
|
});
|
|
@@ -1408,7 +1408,7 @@
|
|
|
1408
1408
|
}
|
|
1409
1409
|
});
|
|
1410
1410
|
|
|
1411
|
-
var _sfc_main$
|
|
1411
|
+
var _sfc_main$t = vue.defineComponent({
|
|
1412
1412
|
...{
|
|
1413
1413
|
name: "DialogContainer",
|
|
1414
1414
|
inheritAttrs: true
|
|
@@ -1453,7 +1453,7 @@
|
|
|
1453
1453
|
onClick: _cache[1] || (_cache[1] = vue.withModifiers($event => {
|
|
1454
1454
|
__props.options.closeOnMask && vue.unref(closePopup)();
|
|
1455
1455
|
}, ["self"]))
|
|
1456
|
-
}, [vue.createVNode(_sfc_main$
|
|
1456
|
+
}, [vue.createVNode(_sfc_main$u, vue.mergeProps({
|
|
1457
1457
|
class: "dialog-body",
|
|
1458
1458
|
name: __props.options.name,
|
|
1459
1459
|
component: __props.options.component,
|
|
@@ -1468,7 +1468,7 @@
|
|
|
1468
1468
|
}
|
|
1469
1469
|
});
|
|
1470
1470
|
|
|
1471
|
-
var _sfc_main$
|
|
1471
|
+
var _sfc_main$s = vue.defineComponent({
|
|
1472
1472
|
...{
|
|
1473
1473
|
name: "FollowContainer",
|
|
1474
1474
|
inheritAttrs: true
|
|
@@ -1589,7 +1589,7 @@
|
|
|
1589
1589
|
});
|
|
1590
1590
|
});
|
|
1591
1591
|
return (_ctx, _cache) => {
|
|
1592
|
-
return vue.openBlock(), vue.createBlock(_sfc_main$
|
|
1592
|
+
return vue.openBlock(), vue.createBlock(_sfc_main$u, vue.mergeProps({
|
|
1593
1593
|
class: ["snail-follow initial", [__props.popupStatus.value, __props.popupTransition.value]],
|
|
1594
1594
|
style: {
|
|
1595
1595
|
"z-index": __props.zIndex
|
|
@@ -1606,7 +1606,7 @@
|
|
|
1606
1606
|
}
|
|
1607
1607
|
});
|
|
1608
1608
|
|
|
1609
|
-
var _sfc_main$
|
|
1609
|
+
var _sfc_main$r = vue.defineComponent({
|
|
1610
1610
|
...{
|
|
1611
1611
|
name: "PopupContainer",
|
|
1612
1612
|
inheritAttrs: true
|
|
@@ -1626,7 +1626,7 @@
|
|
|
1626
1626
|
model = vue.shallowRef(void 0)
|
|
1627
1627
|
} = __props.options;
|
|
1628
1628
|
return (_ctx, _cache) => {
|
|
1629
|
-
return vue.openBlock(), vue.createBlock(_sfc_main$
|
|
1629
|
+
return vue.openBlock(), vue.createBlock(_sfc_main$u, vue.mergeProps({
|
|
1630
1630
|
class: ["snail-popup", [__props.popupStatus.value, __props.popupTransition.value]],
|
|
1631
1631
|
style: {
|
|
1632
1632
|
"z-index": __props.zIndex
|
|
@@ -1644,12 +1644,12 @@
|
|
|
1644
1644
|
}
|
|
1645
1645
|
});
|
|
1646
1646
|
|
|
1647
|
-
const _hoisted_1$
|
|
1647
|
+
const _hoisted_1$g = {
|
|
1648
1648
|
key: 1,
|
|
1649
1649
|
class: "icon"
|
|
1650
1650
|
};
|
|
1651
|
-
const _hoisted_2$
|
|
1652
|
-
var _sfc_main$
|
|
1651
|
+
const _hoisted_2$a = ["innerHTML"];
|
|
1652
|
+
var _sfc_main$q = vue.defineComponent({
|
|
1653
1653
|
...{
|
|
1654
1654
|
name: "ToastContainer",
|
|
1655
1655
|
inheritAttrs: true
|
|
@@ -1686,7 +1686,7 @@
|
|
|
1686
1686
|
}),
|
|
1687
1687
|
onMouseenter: _cache[1] || (_cache[1] = $event => onMouseEvent(false)),
|
|
1688
1688
|
onMouseleave: _cache[2] || (_cache[2] = $event => onMouseEvent(true))
|
|
1689
|
-
}, [vue.unref(props).closeDisabled != true ? (vue.openBlock(), vue.createBlock(_sfc_main$
|
|
1689
|
+
}, [vue.unref(props).closeDisabled != true ? (vue.openBlock(), vue.createBlock(_sfc_main$E, {
|
|
1690
1690
|
key: 0,
|
|
1691
1691
|
class: "close-icon",
|
|
1692
1692
|
type: "close",
|
|
@@ -1697,21 +1697,21 @@
|
|
|
1697
1697
|
onClick: _cache[0] || (_cache[0] = $event => {
|
|
1698
1698
|
vue.unref(closePopup)();
|
|
1699
1699
|
})
|
|
1700
|
-
})) : vue.createCommentVNode("", true), vue.unref(props).type ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
1700
|
+
})) : vue.createCommentVNode("", true), vue.unref(props).type ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$g, [vue.createVNode(_sfc_main$E, {
|
|
1701
1701
|
type: vue.unref(props).type,
|
|
1702
1702
|
color: "#707070",
|
|
1703
1703
|
size: 20
|
|
1704
1704
|
}, null, 8, ["type"])])) : vue.createCommentVNode("", true), vue.createElementVNode("div", {
|
|
1705
1705
|
class: "message",
|
|
1706
1706
|
innerHTML: vue.unref(props).message
|
|
1707
|
-
}, null, 8, _hoisted_2$
|
|
1707
|
+
}, null, 8, _hoisted_2$a)], 38);
|
|
1708
1708
|
};
|
|
1709
1709
|
}
|
|
1710
1710
|
});
|
|
1711
1711
|
|
|
1712
1712
|
function usePopup() {
|
|
1713
1713
|
function popup(options) {
|
|
1714
|
-
const scope = checkOptions(options, checkPopup) || popupInCustomContainer(_sfc_main$
|
|
1714
|
+
const scope = checkOptions(options, checkPopup) || popupInCustomContainer(_sfc_main$r, options);
|
|
1715
1715
|
return addScope2Scopes(scope);
|
|
1716
1716
|
}
|
|
1717
1717
|
function dialog(options) {
|
|
@@ -1744,7 +1744,7 @@
|
|
|
1744
1744
|
},
|
|
1745
1745
|
onBeforeClose: fn => hook.register("onBeforeClose", fn)
|
|
1746
1746
|
});
|
|
1747
|
-
const descriptor = openPopup(_sfc_main$
|
|
1747
|
+
const descriptor = openPopup(_sfc_main$t, options, extOptions);
|
|
1748
1748
|
scope = snail_core.useAsyncScope(deferred.promise);
|
|
1749
1749
|
monitorDialog(descriptor, scope, deferred);
|
|
1750
1750
|
}
|
|
@@ -1752,7 +1752,7 @@
|
|
|
1752
1752
|
}
|
|
1753
1753
|
function follow(target, options) {
|
|
1754
1754
|
var scope = void 0;
|
|
1755
|
-
if (target instanceof
|
|
1755
|
+
if (target instanceof Element == false) {
|
|
1756
1756
|
const deferred = snail_core.defer();
|
|
1757
1757
|
deferred.reject("follow: target must be an HTMLElement.");
|
|
1758
1758
|
scope = snail_core.useAsyncScope(deferred.promise);
|
|
@@ -1762,14 +1762,14 @@
|
|
|
1762
1762
|
inPopup: "follow",
|
|
1763
1763
|
target
|
|
1764
1764
|
};
|
|
1765
|
-
scope = checkOptions(options, checkFollow) || popupInCustomContainer(_sfc_main$
|
|
1765
|
+
scope = checkOptions(options, checkFollow) || popupInCustomContainer(_sfc_main$s, options, extOptions);
|
|
1766
1766
|
}
|
|
1767
1767
|
return addScope2Scopes(scope);
|
|
1768
1768
|
}
|
|
1769
1769
|
function confirm(title, message, options) {
|
|
1770
1770
|
options = options || Object.create(null);
|
|
1771
1771
|
return dialog({
|
|
1772
|
-
component: _sfc_main$
|
|
1772
|
+
component: _sfc_main$x,
|
|
1773
1773
|
closeOnEscape: true,
|
|
1774
1774
|
props: {
|
|
1775
1775
|
...options,
|
|
@@ -1779,7 +1779,7 @@
|
|
|
1779
1779
|
});
|
|
1780
1780
|
}
|
|
1781
1781
|
function toast(type, message, options) {
|
|
1782
|
-
return popupInCustomContainer(_sfc_main$
|
|
1782
|
+
return popupInCustomContainer(_sfc_main$q, {
|
|
1783
1783
|
url: "#ToastContainer",
|
|
1784
1784
|
props: {
|
|
1785
1785
|
...(options || Object.create(null)),
|
|
@@ -1812,7 +1812,7 @@
|
|
|
1812
1812
|
},
|
|
1813
1813
|
...extOptions
|
|
1814
1814
|
});
|
|
1815
|
-
const descriptor = openPopup(container || _sfc_main$
|
|
1815
|
+
const descriptor = openPopup(container || _sfc_main$r, options, extOptions);
|
|
1816
1816
|
const scope = snail_core.useAsyncScope(deferred.promise);
|
|
1817
1817
|
scope.onDestroy(() => destroyPopup(descriptor, deferred));
|
|
1818
1818
|
return scope;
|
|
@@ -1947,12 +1947,12 @@
|
|
|
1947
1947
|
return "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyFpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTQyIDc5LjE2MDkyNCwgMjAxNy8wNy8xMy0wMTowNjozOSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIChXaW5kb3dzKSIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDoyREREODhFQ0M5M0UxMUU5ODlFREVENzc4Njk0RjQ2MiIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDoyREREODhFREM5M0UxMUU5ODlFREVENzc4Njk0RjQ2MiI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOjJEREQ4OEVBQzkzRTExRTk4OUVERUQ3Nzg2OTRGNDYyIiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOjJEREQ4OEVCQzkzRTExRTk4OUVERUQ3Nzg2OTRGNDYyIi8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8++keGxAAAA5lJREFUeNrsmktoE0EYx3eSTdpsk2abvnwcFBVp8QFqVPDgQaGgIogIoictelKKVhARBA8q+KAVrFqooh4qXgRfiHpTEHqw9iCKXqQHSVstpqlt0yabrP9p52K1yW72GTMf/JhZMrM7/3l+37REVVWhlMwjlJhxwVwwF8wFc8FcMBfsnIlGKg98TxRa9RbYAFYXUnl+XbjoRpiKXVXMU9qns3xK76CC/YC4QfA1MAg26aiTZGlQQ9la8AZ0g3VuENwLqsArsFVnXW+e30PgKVgGnoA+Nwi+Cw6DAHgGdmqoMwJoXJrJUcYPHoGN4C3Yl6e8rWv4Nmhma/kh2J6n/HW2JsdylLkKtoAPYAeYcPxYmmX32AjcAVHwPEfZFxreR2fAJ9Z5CbMaSYzceMxxDtN198vKo8Vt57ClYh0d4f/OtTTgOjpquaa8WEhldISM5DRYWYCXZdTS4DVoR9tSegdI9y6Nl1KBL5k/7JRto99HW/ZAtGralJ7DTtCPEUKUmqqKPlH0rtXgMZk2utms2jk0PEqPqt3gEOiybJdGjy5BcobmI7LUC7HrbRQ7HaR4PORoOBRoY+f0RbSp3spjqQNIPtEb8/vEqFMnixTwH0T6gPnwbZYIRk/uZWtHqApLQzaP7GyL1kSCPUinqIuKtjWZKhgvpFt1O82X+cXPXq9njdNHD2ZZC/aRTvZ4A20sN3OEz7IgXJDDkls8laV11aEBpHGaB62mCEbPNSA5QvNYO+88hDS6xcHABtbq9XiusMdTYJ4ZI3yBORdKZTBQ6zKnqq62OiQh7WdByzmjgqlzsWs6BAqW9xAiLHJdMECEY36f9zJ7pLt3oxHH4/j0O4kwWREoW8BuKvSYxG4utFoWjOoVHZErlg/+GP2I7ApwkgnXHy1h/VLntNJA76sROfgFI9CgoXh8OD72OJ3OHDA46Am4m3KhU7rSyJfRl2QiOaXVE3oPsU0mzPKw3RcAf5iiZEPaOkf9KsxcyVq7s1vu7SsZEQ5/LO81ydhk3I5Q05Y/tcQTExKLY/+9U2XV++PJVLMtZ7cdH0mlFfnnyPgIpm3s758y3Qj3NiNfY8sxlmeXNt2NhC/ej0grllXVdHIyVY/RbTD7G9iliZkXAIZsKqUspjjmjgolZlwwF1xigr8VoaYBI4I7ilBwl5Hw8JIwcx3aAha6XCj9t4ub4HzBjgfftLhgLpgL5oK5YC6YC+aCuWDt9luAAQC2EPxjL8cUkwAAAABJRU5ErkJggg==";
|
|
1948
1948
|
}
|
|
1949
1949
|
|
|
1950
|
-
const _hoisted_1$
|
|
1950
|
+
const _hoisted_1$f = {
|
|
1951
1951
|
class: "snail-empty"
|
|
1952
1952
|
};
|
|
1953
|
-
const _hoisted_2$
|
|
1953
|
+
const _hoisted_2$9 = ["src"];
|
|
1954
1954
|
const _hoisted_3$6 = ["textContent"];
|
|
1955
|
-
var _sfc_main$
|
|
1955
|
+
var _sfc_main$p = vue.defineComponent({
|
|
1956
1956
|
...{
|
|
1957
1957
|
name: "Empty",
|
|
1958
1958
|
inheritAttrs: true
|
|
@@ -1965,9 +1965,9 @@
|
|
|
1965
1965
|
setup(__props) {
|
|
1966
1966
|
const defaultImageBase64 = getNoDataBase64Image();
|
|
1967
1967
|
return (_ctx, _cache) => {
|
|
1968
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
1968
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$f, [vue.createElementVNode("img", {
|
|
1969
1969
|
src: __props.imageUrl || vue.unref(defaultImageBase64)
|
|
1970
|
-
}, null, 8, _hoisted_2$
|
|
1970
|
+
}, null, 8, _hoisted_2$9), vue.renderSlot(_ctx.$slots, "default", {}, () => [vue.createElementVNode("div", {
|
|
1971
1971
|
class: "message",
|
|
1972
1972
|
textContent: vue.toDisplayString(__props.message || "无数据")
|
|
1973
1973
|
}, null, 8, _hoisted_3$6)])]);
|
|
@@ -1975,13 +1975,13 @@
|
|
|
1975
1975
|
}
|
|
1976
1976
|
});
|
|
1977
1977
|
|
|
1978
|
-
const _hoisted_1$
|
|
1979
|
-
const _hoisted_2$
|
|
1978
|
+
const _hoisted_1$e = ["title"];
|
|
1979
|
+
const _hoisted_2$8 = ["textContent"];
|
|
1980
1980
|
const _hoisted_3$5 = {
|
|
1981
1981
|
key: 1,
|
|
1982
1982
|
class: "select-status"
|
|
1983
1983
|
};
|
|
1984
|
-
var _sfc_main$
|
|
1984
|
+
var _sfc_main$o = vue.defineComponent({
|
|
1985
1985
|
...{
|
|
1986
1986
|
name: "SelectNode",
|
|
1987
1987
|
inheritAttrs: true
|
|
@@ -2026,15 +2026,15 @@
|
|
|
2026
2026
|
}, [vue.createElementVNode("div", {
|
|
2027
2027
|
class: "item-text ellipsis",
|
|
2028
2028
|
textContent: vue.toDisplayString(__props.item.text)
|
|
2029
|
-
}, null, 8, _hoisted_2$
|
|
2029
|
+
}, null, 8, _hoisted_2$8), __props.item.type == "group" ? (vue.openBlock(), vue.createBlock(_sfc_main$E, {
|
|
2030
2030
|
key: 0,
|
|
2031
2031
|
type: "arrow"
|
|
2032
|
-
})) : __props.multiple == true ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$5, [vue.createVNode(_sfc_main$
|
|
2032
|
+
})) : __props.multiple == true ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$5, [vue.createVNode(_sfc_main$E, {
|
|
2033
2033
|
type: "success",
|
|
2034
2034
|
button: "",
|
|
2035
2035
|
size: 12,
|
|
2036
2036
|
color: "white"
|
|
2037
|
-
})])) : vue.createCommentVNode("", true)], 42, _hoisted_1$
|
|
2037
|
+
})])) : vue.createCommentVNode("", true)], 42, _hoisted_1$e)) : vue.createCommentVNode("", true), showRef.value ? (vue.openBlock(true), vue.createElementBlock(vue.Fragment, {
|
|
2038
2038
|
key: 1
|
|
2039
2039
|
}, vue.renderList(vue.unref(showChildrenRef), child => {
|
|
2040
2040
|
return vue.openBlock(), vue.createBlock(_component_SelectNode, {
|
|
@@ -2051,7 +2051,7 @@
|
|
|
2051
2051
|
}
|
|
2052
2052
|
});
|
|
2053
2053
|
|
|
2054
|
-
var _sfc_main$
|
|
2054
|
+
var _sfc_main$n = vue.defineComponent({
|
|
2055
2055
|
...{
|
|
2056
2056
|
name: "Select2Popup",
|
|
2057
2057
|
inheritAttrs: true
|
|
@@ -2223,13 +2223,13 @@
|
|
|
2223
2223
|
key: 0
|
|
2224
2224
|
}, [vue.createTextVNode(" 暂无选项 ")], 64)) : (vue.openBlock(), vue.createElementBlock(vue.Fragment, {
|
|
2225
2225
|
key: 1
|
|
2226
|
-
}, [__props.search ? (vue.openBlock(), vue.createBlock(_sfc_main$
|
|
2226
|
+
}, [__props.search ? (vue.openBlock(), vue.createBlock(_sfc_main$y, vue.mergeProps({
|
|
2227
2227
|
key: 0
|
|
2228
2228
|
}, __props.search, {
|
|
2229
2229
|
onSearch,
|
|
2230
2230
|
key: "select-search"
|
|
2231
2231
|
}), null, 16)) : vue.createCommentVNode("", true), (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(itemsRef.value, item => {
|
|
2232
|
-
return vue.openBlock(), vue.createBlock(_sfc_main$
|
|
2232
|
+
return vue.openBlock(), vue.createBlock(_sfc_main$o, {
|
|
2233
2233
|
key: vue.unref(context).getKey(item),
|
|
2234
2234
|
multiple: __props.multiple,
|
|
2235
2235
|
item,
|
|
@@ -2238,7 +2238,7 @@
|
|
|
2238
2238
|
onEnter: onEnterSelectNode,
|
|
2239
2239
|
onClick: onClickSelectNode
|
|
2240
2240
|
}, null, 8, ["multiple", "item", "context"]);
|
|
2241
|
-
}), 128)), itemsRef.value.length == 0 ? (vue.openBlock(), vue.createBlock(_sfc_main$
|
|
2241
|
+
}), 128)), itemsRef.value.length == 0 ? (vue.openBlock(), vue.createBlock(_sfc_main$p, {
|
|
2242
2242
|
key: 1,
|
|
2243
2243
|
message: "无结果"
|
|
2244
2244
|
})) : vue.createCommentVNode("", true), showClearButtonRef.value ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
@@ -2250,20 +2250,20 @@
|
|
|
2250
2250
|
}
|
|
2251
2251
|
});
|
|
2252
2252
|
|
|
2253
|
-
const _hoisted_1$
|
|
2253
|
+
const _hoisted_1$d = {
|
|
2254
2254
|
key: 0,
|
|
2255
2255
|
class: "select-result"
|
|
2256
2256
|
};
|
|
2257
|
-
const _hoisted_2$
|
|
2257
|
+
const _hoisted_2$7 = ["title", "textContent"];
|
|
2258
2258
|
const _hoisted_3$4 = ["textContent"];
|
|
2259
2259
|
const _hoisted_4$4 = {
|
|
2260
2260
|
key: 1,
|
|
2261
2261
|
class: "placeholder"
|
|
2262
2262
|
};
|
|
2263
2263
|
onAppCreated((app, type) => {
|
|
2264
|
-
type == "popup" && app.component("SelectPopup", _sfc_main$
|
|
2264
|
+
type == "popup" && app.component("SelectPopup", _sfc_main$n);
|
|
2265
2265
|
});
|
|
2266
|
-
var _sfc_main$
|
|
2266
|
+
var _sfc_main$m = vue.defineComponent({
|
|
2267
2267
|
...{
|
|
2268
2268
|
name: "Select",
|
|
2269
2269
|
inheritAttrs: true
|
|
@@ -2395,15 +2395,15 @@
|
|
|
2395
2395
|
ref: "select"
|
|
2396
2396
|
}, [__props.items && __props.items.length ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, {
|
|
2397
2397
|
key: 0
|
|
2398
|
-
}, [selectedItemsRef.value.length ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
2398
|
+
}, [selectedItemsRef.value.length ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$d, [vue.renderSlot(_ctx.$slots, "default", vue.normalizeProps(vue.guardReactiveProps(vue.unref(slotOptions))), () => [vue.createElementVNode("div", {
|
|
2399
2399
|
class: "select-text ellipsis",
|
|
2400
2400
|
title: selectedTextRef.value,
|
|
2401
2401
|
textContent: vue.toDisplayString(selectedTextRef.value)
|
|
2402
|
-
}, null, 8, _hoisted_2$
|
|
2402
|
+
}, null, 8, _hoisted_2$7)])])) : (vue.openBlock(), vue.createElementBlock("div", {
|
|
2403
2403
|
key: 1,
|
|
2404
2404
|
class: "placeholder",
|
|
2405
2405
|
textContent: vue.toDisplayString(__props.readonly ? "" : __props.placeholder || "请选择")
|
|
2406
|
-
}, null, 8, _hoisted_3$4)), __props.readonly != true ? (vue.openBlock(), vue.createBlock(_sfc_main$
|
|
2406
|
+
}, null, 8, _hoisted_3$4)), __props.readonly != true ? (vue.openBlock(), vue.createBlock(_sfc_main$E, {
|
|
2407
2407
|
key: 2,
|
|
2408
2408
|
type: "arrow",
|
|
2409
2409
|
button: "",
|
|
@@ -2414,7 +2414,7 @@
|
|
|
2414
2414
|
}
|
|
2415
2415
|
});
|
|
2416
2416
|
|
|
2417
|
-
var _sfc_main$
|
|
2417
|
+
var _sfc_main$l = vue.defineComponent({
|
|
2418
2418
|
...{
|
|
2419
2419
|
name: "Switch",
|
|
2420
2420
|
inheritAttrs: true
|
|
@@ -2463,8 +2463,8 @@
|
|
|
2463
2463
|
}
|
|
2464
2464
|
});
|
|
2465
2465
|
|
|
2466
|
-
const _hoisted_1$
|
|
2467
|
-
var _sfc_main$
|
|
2466
|
+
const _hoisted_1$c = ["readonly", "placeholder", "rows"];
|
|
2467
|
+
var _sfc_main$k = vue.defineComponent({
|
|
2468
2468
|
...{
|
|
2469
2469
|
name: "Textarea",
|
|
2470
2470
|
inheritAttrs: true
|
|
@@ -2524,7 +2524,162 @@
|
|
|
2524
2524
|
onInput: _cache[2] || (_cache[2] = $event => emits("input", textareaDom.value.value)),
|
|
2525
2525
|
onBlur: _cache[3] || (_cache[3] = $event => emits("blur", textareaDom.value.value)),
|
|
2526
2526
|
onChange: _cache[4] || (_cache[4] = $event => emits("change", textareaDom.value.value))
|
|
2527
|
-
}, null, 40, _hoisted_1$
|
|
2527
|
+
}, null, 40, _hoisted_1$c)), [[vue.vModelText, valueModel.value]]);
|
|
2528
|
+
};
|
|
2529
|
+
}
|
|
2530
|
+
});
|
|
2531
|
+
|
|
2532
|
+
const _hoisted_1$b = ["onClick"];
|
|
2533
|
+
const _hoisted_2$6 = ["textContent"];
|
|
2534
|
+
var _sfc_main$j = vue.defineComponent({
|
|
2535
|
+
__name: "action-items",
|
|
2536
|
+
props: {
|
|
2537
|
+
mode: {},
|
|
2538
|
+
actions: {},
|
|
2539
|
+
inPopup: {},
|
|
2540
|
+
closePopup: {
|
|
2541
|
+
type: Function
|
|
2542
|
+
},
|
|
2543
|
+
popupStatus: {},
|
|
2544
|
+
target: {},
|
|
2545
|
+
followX: {},
|
|
2546
|
+
followY: {},
|
|
2547
|
+
pinned: {}
|
|
2548
|
+
},
|
|
2549
|
+
emits: ["trigger"],
|
|
2550
|
+
setup(__props, _ref) {
|
|
2551
|
+
let {
|
|
2552
|
+
emit: __emit
|
|
2553
|
+
} = _ref;
|
|
2554
|
+
const props = __props;
|
|
2555
|
+
const emits = __emit;
|
|
2556
|
+
function onActionItemClick(code) {
|
|
2557
|
+
emits("trigger", code);
|
|
2558
|
+
props.inPopup && props.closePopup(code);
|
|
2559
|
+
}
|
|
2560
|
+
return (_ctx, _cache) => {
|
|
2561
|
+
return vue.openBlock(), vue.createElementBlock("div", {
|
|
2562
|
+
class: vue.normalizeClass(["snail-action-items", [vue.unref(snail_core.correctString)(__props.mode, "vertical", true), vue.unref(snail_core.isStringNotEmpty)(__props.inPopup) ? "in-popup" : ""]])
|
|
2563
|
+
}, [(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(__props.actions, action => {
|
|
2564
|
+
return vue.openBlock(), vue.createElementBlock("div", {
|
|
2565
|
+
class: "action-item flex-cross-center",
|
|
2566
|
+
key: action.code,
|
|
2567
|
+
style: vue.normalizeStyle({
|
|
2568
|
+
"--color": vue.unref(snail_core.correctString)(action.color, null, true),
|
|
2569
|
+
"--hcolor": vue.unref(snail_core.correctString)(action.hoverColor, null, true)
|
|
2570
|
+
}),
|
|
2571
|
+
onClick: $event => onActionItemClick(action.code)
|
|
2572
|
+
}, [action.icon != void 0 ? (vue.openBlock(), vue.createBlock(_sfc_main$E, vue.mergeProps({
|
|
2573
|
+
key: 0,
|
|
2574
|
+
ref_for: true
|
|
2575
|
+
}, action.icon, {
|
|
2576
|
+
custom: false,
|
|
2577
|
+
size: 20
|
|
2578
|
+
}), null, 16)) : vue.createCommentVNode("", true), vue.createElementVNode("span", {
|
|
2579
|
+
class: "ellipsis",
|
|
2580
|
+
textContent: vue.toDisplayString(action.name)
|
|
2581
|
+
}, null, 8, _hoisted_2$6)], 12, _hoisted_1$b);
|
|
2582
|
+
}), 128))], 2);
|
|
2583
|
+
};
|
|
2584
|
+
}
|
|
2585
|
+
});
|
|
2586
|
+
|
|
2587
|
+
const _hoisted_1$a = {
|
|
2588
|
+
class: "snail-action flex-cross-center",
|
|
2589
|
+
ref: "snail-action"
|
|
2590
|
+
};
|
|
2591
|
+
const _hoisted_2$5 = ["title"];
|
|
2592
|
+
var _sfc_main$i = vue.defineComponent({
|
|
2593
|
+
__name: "action",
|
|
2594
|
+
props: {
|
|
2595
|
+
trigger: {},
|
|
2596
|
+
actions: {}
|
|
2597
|
+
},
|
|
2598
|
+
emits: ["trigger"],
|
|
2599
|
+
setup(__props, _ref) {
|
|
2600
|
+
let {
|
|
2601
|
+
emit: __emit
|
|
2602
|
+
} = _ref;
|
|
2603
|
+
const props = __props;
|
|
2604
|
+
const emits = __emit;
|
|
2605
|
+
const {
|
|
2606
|
+
follow
|
|
2607
|
+
} = usePopup();
|
|
2608
|
+
const {
|
|
2609
|
+
onEvent
|
|
2610
|
+
} = snail_view.useObserver();
|
|
2611
|
+
const rootDom = vue.useTemplateRef("snail-action");
|
|
2612
|
+
let popupScope = void 0;
|
|
2613
|
+
let pressStartDate = void 0;
|
|
2614
|
+
async function onFollowShow(longPress) {
|
|
2615
|
+
if (popupScope && popupScope.destroyed != true) {
|
|
2616
|
+
popupScope.destroy();
|
|
2617
|
+
return;
|
|
2618
|
+
}
|
|
2619
|
+
popupScope = follow(rootDom.value, {
|
|
2620
|
+
component: _sfc_main$j,
|
|
2621
|
+
closeOnEscape: true,
|
|
2622
|
+
closeOnMask: true,
|
|
2623
|
+
closeOnResize: true,
|
|
2624
|
+
closeOnTarget: true,
|
|
2625
|
+
followX: longPress ? ["center", "start", "end"] : ["after", "end", "start", "end", "center"],
|
|
2626
|
+
followY: longPress ? ["center", "after", "before"] : ["after", "before", "center", "end", "after"],
|
|
2627
|
+
props: {
|
|
2628
|
+
mode: "vertical",
|
|
2629
|
+
actions: props.actions
|
|
2630
|
+
}
|
|
2631
|
+
});
|
|
2632
|
+
const code = await popupScope;
|
|
2633
|
+
snail_core.isStringNotEmpty(code) && emits("trigger", code);
|
|
2634
|
+
}
|
|
2635
|
+
function onMouseDown() {
|
|
2636
|
+
if (props.trigger == "long-press" && pressStartDate == void 0) {
|
|
2637
|
+
pressStartDate = new Date();
|
|
2638
|
+
}
|
|
2639
|
+
}
|
|
2640
|
+
function onMouseUp() {
|
|
2641
|
+
if (pressStartDate != void 0) {
|
|
2642
|
+
const time = ((new Date()).getTime() - pressStartDate.getTime()) / 1e3;
|
|
2643
|
+
pressStartDate = void 0;
|
|
2644
|
+
if (time >= 0.5) {
|
|
2645
|
+
navigator.vibrate && navigator.vibrate(200);
|
|
2646
|
+
onFollowShow(true);
|
|
2647
|
+
}
|
|
2648
|
+
}
|
|
2649
|
+
}
|
|
2650
|
+
function onMouseCancel() {
|
|
2651
|
+
setTimeout(() => pressStartDate = void 0, 10);
|
|
2652
|
+
}
|
|
2653
|
+
vue.onMounted(() => {
|
|
2654
|
+
onEvent(rootDom.value, "mousedown", onMouseDown);
|
|
2655
|
+
onEvent(rootDom.value, "mouseup", onMouseUp);
|
|
2656
|
+
if ("ontouchstart" in window) {
|
|
2657
|
+
onEvent(rootDom.value, "touchstart", onMouseDown);
|
|
2658
|
+
onEvent(rootDom.value, "touchend", onMouseUp);
|
|
2659
|
+
}
|
|
2660
|
+
onEvent(window, "mouseup", onMouseCancel);
|
|
2661
|
+
if ("ontouchstart" in window) {
|
|
2662
|
+
onEvent(window, "touchend", onMouseCancel);
|
|
2663
|
+
onEvent(window, "touchcancel", onMouseCancel);
|
|
2664
|
+
}
|
|
2665
|
+
});
|
|
2666
|
+
return (_ctx, _cache) => {
|
|
2667
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$a, [vue.createElementVNode("div", {
|
|
2668
|
+
class: "action-slot flex-cross-center",
|
|
2669
|
+
title: String(__props.trigger == "hover")
|
|
2670
|
+
}, [vue.renderSlot(_ctx.$slots, "default")], 8, _hoisted_2$5), __props.trigger == "hover" ? (vue.openBlock(), vue.createBlock(_sfc_main$E, {
|
|
2671
|
+
key: 0,
|
|
2672
|
+
class: "hover-tips",
|
|
2673
|
+
button: "",
|
|
2674
|
+
custom: "",
|
|
2675
|
+
size: 16,
|
|
2676
|
+
onClick: _cache[0] || (_cache[0] = $event => onFollowShow(false))
|
|
2677
|
+
}, {
|
|
2678
|
+
default: vue.withCtx(() => [...(_cache[1] || (_cache[1] = [vue.createElementVNode("path", {
|
|
2679
|
+
d: "M415.93 223.79c0-52.98 43.004-95.984 95.984-95.984s95.984 43.004 95.984 95.984-43.004 95.984-95.984 95.984-95.984-43.003-95.984-95.984zM415.93 511.742c0-52.98 43.004-95.984 95.984-95.984s95.984 43.004 95.984 95.984-43.004 95.984-95.984 95.984-95.984-43.004-95.984-95.984zM415.93 799.866c0-52.98 43.004-95.984 95.984-95.984s95.984 43.003 95.984 95.984-43.004 95.983-95.984 95.983-95.984-43.175-95.984-95.983z"
|
|
2680
|
+
}, null, -1)]))]),
|
|
2681
|
+
_: 1
|
|
2682
|
+
})) : vue.createCommentVNode("", true)], 512);
|
|
2528
2683
|
};
|
|
2529
2684
|
}
|
|
2530
2685
|
});
|
|
@@ -2766,10 +2921,10 @@
|
|
|
2766
2921
|
return vue.openBlock(), vue.createElementBlock("div", vue.mergeProps(_ctx.$attrs, {
|
|
2767
2922
|
class: "snail-elastic"
|
|
2768
2923
|
}), [springYRef.value == true && __props.downRefresh == true ? vue.withDirectives((vue.openBlock(), vue.createElementBlock("div", {
|
|
2769
|
-
key: 0,
|
|
2770
2924
|
class: vue.normalizeClass(["down-refresh", {
|
|
2771
2925
|
"running": loadingRef.value == "refresh"
|
|
2772
2926
|
}]),
|
|
2927
|
+
key: "down-refresh",
|
|
2773
2928
|
ref: "down-refresh"
|
|
2774
2929
|
}, [vue.renderSlot(_ctx.$slots, "down-refresh", {}, () => [_cache[0] || (_cache[0] = vue.createElementVNode("div", {
|
|
2775
2930
|
class: "flex-center default-loading"
|
|
@@ -2781,10 +2936,10 @@
|
|
|
2781
2936
|
key: "main-body",
|
|
2782
2937
|
style: vue.normalizeStyle(buildMainBodyStyle())
|
|
2783
2938
|
}, [vue.renderSlot(_ctx.$slots, "default")], 6), springYRef.value == true && __props.upMore == true ? vue.withDirectives((vue.openBlock(), vue.createElementBlock("div", {
|
|
2784
|
-
key: 1,
|
|
2785
2939
|
class: vue.normalizeClass(["up-more", {
|
|
2786
2940
|
"running": loadingRef.value == "more"
|
|
2787
2941
|
}]),
|
|
2942
|
+
key: "up-more",
|
|
2788
2943
|
ref: "up-more"
|
|
2789
2944
|
}, [vue.renderSlot(_ctx.$slots, "up-more", {}, () => [_cache[1] || (_cache[1] = vue.createElementVNode("div", {
|
|
2790
2945
|
class: "flex-center default-loading"
|
|
@@ -2978,7 +3133,7 @@
|
|
|
2978
3133
|
key: 0,
|
|
2979
3134
|
class: "subtitle ellipsis",
|
|
2980
3135
|
textContent: vue.toDisplayString(__props.subtitle)
|
|
2981
|
-
}, null, 8, _hoisted_3$3)) : vue.createCommentVNode("", true), __props.disabled != true ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$3, [vue.createVNode(_sfc_main$
|
|
3136
|
+
}, null, 8, _hoisted_3$3)) : vue.createCommentVNode("", true), __props.disabled != true ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$3, [vue.createVNode(_sfc_main$E, {
|
|
2982
3137
|
custom: false,
|
|
2983
3138
|
type: "arrow",
|
|
2984
3139
|
button: "",
|
|
@@ -3452,7 +3607,7 @@
|
|
|
3452
3607
|
key: 1
|
|
3453
3608
|
}, [_cache[5] || (_cache[5] = vue.createElementVNode("div", {
|
|
3454
3609
|
class: "indent"
|
|
3455
|
-
}, null, -1)), __props.options.foldDisabled != true ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$7, [showChildrenRef.value ? (vue.openBlock(), vue.createBlock(_sfc_main$
|
|
3610
|
+
}, null, -1)), __props.options.foldDisabled != true ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$7, [showChildrenRef.value ? (vue.openBlock(), vue.createBlock(_sfc_main$E, {
|
|
3456
3611
|
key: 0,
|
|
3457
3612
|
class: vue.normalizeClass(statusRef.value),
|
|
3458
3613
|
custom: "",
|
|
@@ -3524,7 +3679,7 @@
|
|
|
3524
3679
|
emits("click", node, parents);
|
|
3525
3680
|
}
|
|
3526
3681
|
return (_ctx, _cache) => {
|
|
3527
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$6, [__props.search ? (vue.openBlock(), vue.createBlock(_sfc_main$
|
|
3682
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$6, [__props.search ? (vue.openBlock(), vue.createBlock(_sfc_main$y, vue.mergeProps({
|
|
3528
3683
|
key: 0
|
|
3529
3684
|
}, __props.search, {
|
|
3530
3685
|
onSearch
|
|
@@ -3575,7 +3730,7 @@
|
|
|
3575
3730
|
return (_ctx, _cache) => {
|
|
3576
3731
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
3577
3732
|
class: vue.normalizeClass(["snail-wrapper", __props.inPopup ? "in-popup" : "in-normal"])
|
|
3578
|
-
}, [__props.header && __props.header.disabled != true ? (vue.openBlock(), vue.createBlock(_sfc_main$
|
|
3733
|
+
}, [__props.header && __props.header.disabled != true ? (vue.openBlock(), vue.createBlock(_sfc_main$B, vue.mergeProps({
|
|
3579
3734
|
key: 0
|
|
3580
3735
|
}, __props.header || {
|
|
3581
3736
|
useTo: "dialog",
|
|
@@ -3589,7 +3744,7 @@
|
|
|
3589
3744
|
}), {
|
|
3590
3745
|
default: vue.withCtx(() => [vue.renderSlot(_ctx.$slots, "default")]),
|
|
3591
3746
|
_: 3
|
|
3592
|
-
}, 16), __props.footer && __props.readonly != true && __props.footer.disabled != true ? (vue.openBlock(), vue.createBlock(_sfc_main$
|
|
3747
|
+
}, 16), __props.footer && __props.readonly != true && __props.footer.disabled != true ? (vue.openBlock(), vue.createBlock(_sfc_main$C, vue.mergeProps({
|
|
3593
3748
|
key: 1
|
|
3594
3749
|
}, __props.footer || {}, {
|
|
3595
3750
|
onCancel: _cache[1] || (_cache[1] = $event => emits("cancel")),
|
|
@@ -3603,7 +3758,7 @@
|
|
|
3603
3758
|
snail_core.mustObject(options, "options");
|
|
3604
3759
|
target instanceof HTMLElement || snail_core.throwError("target must be a HTMLElement");
|
|
3605
3760
|
target.classList.add("snail-app");
|
|
3606
|
-
const app = vue.createApp(_sfc_main$
|
|
3761
|
+
const app = vue.createApp(_sfc_main$u, options);
|
|
3607
3762
|
triggerAppCreated(app);
|
|
3608
3763
|
app.mount(target);
|
|
3609
3764
|
const scope = snail_core.useScope().onDestroy(() => app.unmount());
|
|
@@ -3899,7 +4054,7 @@
|
|
|
3899
4054
|
}]),
|
|
3900
4055
|
mode: "vertical"
|
|
3901
4056
|
}, vue.createSlots({
|
|
3902
|
-
main: vue.withCtx(() => [vue.createVNode(_sfc_main$
|
|
4057
|
+
main: vue.withCtx(() => [vue.createVNode(_sfc_main$w, {
|
|
3903
4058
|
multiple: "",
|
|
3904
4059
|
effect: vue.unref(MOTION).top
|
|
3905
4060
|
}, {
|
|
@@ -3939,19 +4094,19 @@
|
|
|
3939
4094
|
_: 2
|
|
3940
4095
|
}, [__props.toolbarDisabled != true ? {
|
|
3941
4096
|
name: "bottom",
|
|
3942
|
-
fn: vue.withCtx(() => [__props.clearDisabled != true ? (vue.openBlock(), vue.createBlock(_sfc_main$
|
|
4097
|
+
fn: vue.withCtx(() => [__props.clearDisabled != true ? (vue.openBlock(), vue.createBlock(_sfc_main$F, {
|
|
3943
4098
|
key: 0,
|
|
3944
4099
|
type: "link",
|
|
3945
4100
|
size: "small",
|
|
3946
4101
|
textContent: "清空",
|
|
3947
4102
|
onClick: _cache[0] || (_cache[0] = $event => (emits("clear"), __props.inPopup && __props.closePopup("")))
|
|
3948
|
-
})) : vue.createCommentVNode("", true), __props.nowDisabled != true ? (vue.openBlock(), vue.createBlock(_sfc_main$
|
|
4103
|
+
})) : vue.createCommentVNode("", true), __props.nowDisabled != true ? (vue.openBlock(), vue.createBlock(_sfc_main$F, {
|
|
3949
4104
|
key: 1,
|
|
3950
4105
|
type: "link",
|
|
3951
4106
|
size: "small",
|
|
3952
4107
|
textContent: "现在",
|
|
3953
4108
|
onClick: _cache[1] || (_cache[1] = $event => rebuildItems(vue.unref(snail_core.getTimeValue)(new Date())))
|
|
3954
|
-
})) : vue.createCommentVNode("", true), vue.createVNode(_sfc_main$
|
|
4109
|
+
})) : vue.createCommentVNode("", true), vue.createVNode(_sfc_main$F, {
|
|
3955
4110
|
type: "link",
|
|
3956
4111
|
size: "small",
|
|
3957
4112
|
textContent: "确定",
|
|
@@ -4205,7 +4360,7 @@
|
|
|
4205
4360
|
height: "30px"
|
|
4206
4361
|
}
|
|
4207
4362
|
}, vue.createSlots({
|
|
4208
|
-
top: vue.withCtx(() => [vue.createVNode(_sfc_main$
|
|
4363
|
+
top: vue.withCtx(() => [vue.createVNode(_sfc_main$E, {
|
|
4209
4364
|
type: "arrow",
|
|
4210
4365
|
button: "",
|
|
4211
4366
|
rotate: 180,
|
|
@@ -4225,7 +4380,7 @@
|
|
|
4225
4380
|
key: 0,
|
|
4226
4381
|
textContent: vue.toDisplayString(`${dateRef.value.month}月`),
|
|
4227
4382
|
onClick: _cache[2] || (_cache[2] = $event => onSwitchStepClick("month"))
|
|
4228
|
-
}, null, 8, _hoisted_3)) : vue.createCommentVNode("", true)], 64))], 2), vue.createVNode(_sfc_main$
|
|
4383
|
+
}, null, 8, _hoisted_3)) : vue.createCommentVNode("", true)], 64))], 2), vue.createVNode(_sfc_main$E, {
|
|
4229
4384
|
type: "arrow",
|
|
4230
4385
|
button: "",
|
|
4231
4386
|
size: 26,
|
|
@@ -4291,19 +4446,19 @@
|
|
|
4291
4446
|
onClick: onSelectTime
|
|
4292
4447
|
}, null, 10, _hoisted_8)) : vue.createCommentVNode("", true), __props.toolbarDisabled != true ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, {
|
|
4293
4448
|
key: 1
|
|
4294
|
-
}, [__props.clearDisabled != true ? (vue.openBlock(), vue.createBlock(_sfc_main$
|
|
4449
|
+
}, [__props.clearDisabled != true ? (vue.openBlock(), vue.createBlock(_sfc_main$F, {
|
|
4295
4450
|
key: 0,
|
|
4296
4451
|
type: "link",
|
|
4297
4452
|
size: "small",
|
|
4298
4453
|
textContent: "清空",
|
|
4299
4454
|
onClick: _cache[4] || (_cache[4] = $event => (emits("clear"), vue.unref(inPopup) && __props.closePopup("")))
|
|
4300
|
-
})) : vue.createCommentVNode("", true), __props.nowDisabled != true ? (vue.openBlock(), vue.createBlock(_sfc_main$
|
|
4455
|
+
})) : vue.createCommentVNode("", true), __props.nowDisabled != true ? (vue.openBlock(), vue.createBlock(_sfc_main$F, {
|
|
4301
4456
|
key: 1,
|
|
4302
4457
|
type: "link",
|
|
4303
4458
|
size: "small",
|
|
4304
4459
|
textContent: "现在",
|
|
4305
4460
|
onClick: onNow
|
|
4306
|
-
})) : vue.createCommentVNode("", true)], 64)) : vue.createCommentVNode("", true), vue.createVNode(_sfc_main$
|
|
4461
|
+
})) : vue.createCommentVNode("", true)], 64)) : vue.createCommentVNode("", true), vue.createVNode(_sfc_main$F, {
|
|
4307
4462
|
type: "link",
|
|
4308
4463
|
size: "small",
|
|
4309
4464
|
textContent: "确定",
|
|
@@ -4337,7 +4492,7 @@
|
|
|
4337
4492
|
popupOptions = {
|
|
4338
4493
|
...popupOptions
|
|
4339
4494
|
};
|
|
4340
|
-
popupOptions.followX = popupOptions.followX || ["start", "end", "center"];
|
|
4495
|
+
popupOptions.followX = popupOptions.followX || ["start", "end", "center", "before", "after"];
|
|
4341
4496
|
popupOptions.spaceX = snail_core.correctNumber(popupOptions.spaceX, 2);
|
|
4342
4497
|
popupOptions.spaceY = snail_core.correctNumber(popupOptions.spaceY, 2);
|
|
4343
4498
|
popupOptions.spaceClient = snail_core.correctNumber(popupOptions.spaceClient, 10);
|
|
@@ -4437,7 +4592,7 @@
|
|
|
4437
4592
|
type: "text",
|
|
4438
4593
|
readonly: "",
|
|
4439
4594
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = $event => valueRef.value = $event)
|
|
4440
|
-
}, null, 512), [[vue.vModelText, valueRef.value]]), __props.readonly != true ? (vue.openBlock(), vue.createBlock(_sfc_main$
|
|
4595
|
+
}, null, 512), [[vue.vModelText, valueRef.value]]), __props.readonly != true ? (vue.openBlock(), vue.createBlock(_sfc_main$E, {
|
|
4441
4596
|
key: 0,
|
|
4442
4597
|
type: "datepicker",
|
|
4443
4598
|
button: "",
|
|
@@ -4523,7 +4678,7 @@
|
|
|
4523
4678
|
type: "text",
|
|
4524
4679
|
readonly: "",
|
|
4525
4680
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = $event => valueRef.value = $event)
|
|
4526
|
-
}, null, 512), [[vue.vModelText, valueRef.value]]), __props.readonly != true ? (vue.openBlock(), vue.createBlock(_sfc_main$
|
|
4681
|
+
}, null, 512), [[vue.vModelText, valueRef.value]]), __props.readonly != true ? (vue.openBlock(), vue.createBlock(_sfc_main$E, {
|
|
4527
4682
|
key: 0,
|
|
4528
4683
|
type: "timepicker",
|
|
4529
4684
|
button: "",
|
|
@@ -4619,12 +4774,12 @@
|
|
|
4619
4774
|
onTouchstart: onStartDrag,
|
|
4620
4775
|
onTouchmove: onDragMove,
|
|
4621
4776
|
onTouchend: onDragEnd
|
|
4622
|
-
}, [dragInfoRef.value.status == "success" ? (vue.openBlock(), vue.createBlock(_sfc_main$
|
|
4777
|
+
}, [dragInfoRef.value.status == "success" ? (vue.openBlock(), vue.createBlock(_sfc_main$E, {
|
|
4623
4778
|
key: 0,
|
|
4624
4779
|
type: "success",
|
|
4625
4780
|
size: 20,
|
|
4626
4781
|
color: "white"
|
|
4627
|
-
})) : (vue.openBlock(), vue.createBlock(_sfc_main$
|
|
4782
|
+
})) : (vue.openBlock(), vue.createBlock(_sfc_main$E, {
|
|
4628
4783
|
key: 1,
|
|
4629
4784
|
custom: "",
|
|
4630
4785
|
size: 20,
|
|
@@ -4643,22 +4798,23 @@
|
|
|
4643
4798
|
});
|
|
4644
4799
|
|
|
4645
4800
|
const components = {
|
|
4646
|
-
|
|
4647
|
-
|
|
4648
|
-
|
|
4649
|
-
|
|
4650
|
-
|
|
4651
|
-
|
|
4652
|
-
|
|
4653
|
-
|
|
4654
|
-
|
|
4655
|
-
|
|
4656
|
-
|
|
4657
|
-
|
|
4801
|
+
Action: _sfc_main$i,
|
|
4802
|
+
Button: _sfc_main$F,
|
|
4803
|
+
Choose: _sfc_main$D,
|
|
4804
|
+
Footer: _sfc_main$C,
|
|
4805
|
+
Header: _sfc_main$B,
|
|
4806
|
+
Icon: _sfc_main$E,
|
|
4807
|
+
Input: _sfc_main$A,
|
|
4808
|
+
Number: _sfc_main$z,
|
|
4809
|
+
Search: _sfc_main$y,
|
|
4810
|
+
Select: _sfc_main$m,
|
|
4811
|
+
Switch: _sfc_main$l,
|
|
4812
|
+
Textarea: _sfc_main$k,
|
|
4813
|
+
Dynamic: _sfc_main$u,
|
|
4658
4814
|
Elastic: _sfc_main$h,
|
|
4659
4815
|
Flex: _sfc_main$g,
|
|
4660
4816
|
Fold: _sfc_main$f,
|
|
4661
|
-
Motion: _sfc_main$
|
|
4817
|
+
Motion: _sfc_main$w,
|
|
4662
4818
|
Layout: _sfc_main$d,
|
|
4663
4819
|
Scroll: _sfc_main$e,
|
|
4664
4820
|
Sort: _sfc_main$c,
|
|
@@ -4671,8 +4827,8 @@
|
|
|
4671
4827
|
DatePicker: _sfc_main$2,
|
|
4672
4828
|
TimePicker: _sfc_main$1,
|
|
4673
4829
|
DragVerify: _sfc_main,
|
|
4674
|
-
Empty: _sfc_main$
|
|
4675
|
-
Loading: _sfc_main$
|
|
4830
|
+
Empty: _sfc_main$p,
|
|
4831
|
+
Loading: _sfc_main$v
|
|
4676
4832
|
};
|
|
4677
4833
|
|
|
4678
4834
|
snail_core.onMountScope(scope => {
|