@fmdevui/fm-dev 1.0.17 → 1.0.18
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/{defaults.css → component.css} +4 -3
- package/es/core/ui/components/dragVerify/dragVerifyImgRotate.vue.d.ts +247 -0
- package/es/core/ui/components/index.d.ts +246 -1
- package/es/index.mjs +1 -1
- package/es/packages/core/index.mjs +1 -1
- package/es/packages/core/ui/components/dragVerify/dragVerifyImgRotate.vue.mjs +118 -0
- package/es/packages/core/ui/components/dragVerify/dragVerifyImgRotate.vue2.mjs +266 -0
- package/es/packages/core/ui/components/dragVerify/dragVerifyImgRotate.vue3.mjs +3 -0
- package/es/packages/core/ui/components/dragVerify/dragVerifyImgRotate.vue4.mjs +3 -0
- package/es/packages/core/ui/components/index.mjs +3 -1
- package/index.css +113 -1
- package/index.js +403 -17
- package/index.min.css +1 -0
- package/index.min.js +24 -24
- package/index.min.mjs +25 -25
- package/index.mjs +404 -19
- package/lib/core/ui/components/dragVerify/dragVerifyImgRotate.vue.d.ts +247 -0
- package/lib/core/ui/components/index.d.ts +246 -1
- package/lib/index.css +4 -3
- package/lib/index.js +1 -0
- package/lib/packages/core/index.js +1 -0
- package/lib/packages/core/ui/components/dragVerify/dragVerifyImgRotate.vue.js +122 -0
- package/lib/packages/core/ui/components/dragVerify/dragVerifyImgRotate.vue2.js +270 -0
- package/lib/packages/core/ui/components/dragVerify/dragVerifyImgRotate.vue3.js +7 -0
- package/lib/packages/core/ui/components/dragVerify/dragVerifyImgRotate.vue4.js +7 -0
- package/lib/packages/core/ui/components/index.js +3 -0
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/*! fm-dev v1.0.
|
|
2
|
-
import { defineComponent, reactive, computed, watch, resolveComponent, createBlock, openBlock, withCtx, createVNode, createElementVNode, createTextVNode, toDisplayString as toDisplayString$1, withDirectives, createElementBlock, Fragment, renderList, vShow, ref, onMounted, nextTick, normalizeStyle, createCommentVNode, normalizeClass, resolveDynamicComponent, effectScope, shallowRef, isRef as isRef$1, getCurrentInstance, h, inject, onUnmounted, Text, markRaw, toRaw as toRaw$1, hasInjectionContext, unref, isReactive as isReactive$1, toRef, getCurrentScope, onScopeDispose, toRefs, resolveDirective } from 'vue';
|
|
1
|
+
/*! fm-dev v1.0.18 */
|
|
2
|
+
import { defineComponent, reactive, computed, watch, resolveComponent, createBlock, openBlock, withCtx, createVNode, createElementVNode, createTextVNode, toDisplayString as toDisplayString$1, withDirectives, createElementBlock, Fragment, renderList, vShow, ref, onMounted, nextTick, normalizeStyle, createCommentVNode, normalizeClass, withModifiers, resolveDynamicComponent, effectScope, shallowRef, isRef as isRef$1, getCurrentInstance, h, inject, onUnmounted, Text, markRaw, toRaw as toRaw$1, hasInjectionContext, unref, isReactive as isReactive$1, toRef, getCurrentScope, onScopeDispose, toRefs, resolveDirective } from 'vue';
|
|
3
3
|
import crypto from 'crypto';
|
|
4
4
|
import require$$0 from 'url';
|
|
5
5
|
import require$$1 from 'http';
|
|
@@ -10,17 +10,17 @@ import require$$4 from 'assert';
|
|
|
10
10
|
import zlib from 'zlib';
|
|
11
11
|
import { ElMessage, dayjs } from 'element-plus';
|
|
12
12
|
|
|
13
|
-
const _hoisted_1$
|
|
14
|
-
const _hoisted_2$
|
|
15
|
-
const _hoisted_3 = { class: "fm-transfer-panel__body" };
|
|
16
|
-
const _hoisted_4 = { class: "fm-transfer-buttons__item" };
|
|
13
|
+
const _hoisted_1$3 = { class: "fm-transfer-panel" };
|
|
14
|
+
const _hoisted_2$2 = { class: "fm-transfer-panel__header" };
|
|
15
|
+
const _hoisted_3$1 = { class: "fm-transfer-panel__body" };
|
|
16
|
+
const _hoisted_4$1 = { class: "fm-transfer-buttons__item" };
|
|
17
17
|
const _hoisted_5 = { class: "fm-transfer-buttons__item" };
|
|
18
18
|
const _hoisted_6 = { class: "fm-transfer-buttons__item" };
|
|
19
19
|
const _hoisted_7 = { class: "fm-transfer-buttons__item" };
|
|
20
20
|
const _hoisted_8 = { class: "fm-transfer-panel" };
|
|
21
21
|
const _hoisted_9 = { class: "fm-transfer-panel__header" };
|
|
22
22
|
const _hoisted_10 = { class: "fm-transfer-panel__body" };
|
|
23
|
-
var _sfc_main$
|
|
23
|
+
var _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
24
24
|
...{
|
|
25
25
|
name: "FmTransfer"
|
|
26
26
|
},
|
|
@@ -180,8 +180,8 @@ var _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
180
180
|
default: withCtx(() => [
|
|
181
181
|
createVNode(_component_el_col, { span: 10 }, {
|
|
182
182
|
default: withCtx(() => [
|
|
183
|
-
createElementVNode("div", _hoisted_1$
|
|
184
|
-
createElementVNode("p", _hoisted_2$
|
|
183
|
+
createElementVNode("div", _hoisted_1$3, [
|
|
184
|
+
createElementVNode("p", _hoisted_2$2, [
|
|
185
185
|
createVNode(_component_el_checkbox, {
|
|
186
186
|
modelValue: state.leftAllChecked,
|
|
187
187
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => state.leftAllChecked = $event),
|
|
@@ -207,7 +207,7 @@ var _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
207
207
|
/* TEXT */
|
|
208
208
|
)
|
|
209
209
|
]),
|
|
210
|
-
createElementVNode("div", _hoisted_3, [
|
|
210
|
+
createElementVNode("div", _hoisted_3$1, [
|
|
211
211
|
createVNode(_component_el_input, {
|
|
212
212
|
class: "transfer-panel__filter",
|
|
213
213
|
modelValue: state.leftKeyword,
|
|
@@ -258,7 +258,7 @@ var _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
258
258
|
class: "fm-transfer-buttons"
|
|
259
259
|
}, {
|
|
260
260
|
default: withCtx(() => [
|
|
261
|
-
createElementVNode("div", _hoisted_4, [
|
|
261
|
+
createElementVNode("div", _hoisted_4$1, [
|
|
262
262
|
createVNode(_component_el_button, {
|
|
263
263
|
type: "primary",
|
|
264
264
|
style: {},
|
|
@@ -377,9 +377,9 @@ var _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
377
377
|
}
|
|
378
378
|
});
|
|
379
379
|
|
|
380
|
-
const _hoisted_1$
|
|
381
|
-
const _hoisted_2 = ["innerHTML"];
|
|
382
|
-
var _sfc_main$
|
|
380
|
+
const _hoisted_1$2 = { class: "notice-bar-warp-text-box" };
|
|
381
|
+
const _hoisted_2$1 = ["innerHTML"];
|
|
382
|
+
var _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
383
383
|
...{
|
|
384
384
|
name: "FmNoticeBar"
|
|
385
385
|
},
|
|
@@ -470,7 +470,7 @@ var _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
470
470
|
2
|
|
471
471
|
/* CLASS */
|
|
472
472
|
)) : createCommentVNode("v-if", true),
|
|
473
|
-
createElementVNode("div", _hoisted_1$
|
|
473
|
+
createElementVNode("div", _hoisted_1$2, [
|
|
474
474
|
createElementVNode(
|
|
475
475
|
"div",
|
|
476
476
|
{
|
|
@@ -482,7 +482,7 @@ var _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
482
482
|
createElementVNode("div", {
|
|
483
483
|
innerHTML: props.text,
|
|
484
484
|
"data-slate-editor": ""
|
|
485
|
-
}, null, 8, _hoisted_2)
|
|
485
|
+
}, null, 8, _hoisted_2$1)
|
|
486
486
|
],
|
|
487
487
|
512
|
|
488
488
|
/* NEED_PATCH */
|
|
@@ -502,6 +502,390 @@ var _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
502
502
|
}
|
|
503
503
|
});
|
|
504
504
|
|
|
505
|
+
var _sfc_main$2 = {
|
|
506
|
+
name: "dragVerify",
|
|
507
|
+
props: {
|
|
508
|
+
isPassing: {
|
|
509
|
+
type: Boolean,
|
|
510
|
+
default: false
|
|
511
|
+
},
|
|
512
|
+
width: {
|
|
513
|
+
type: Number,
|
|
514
|
+
default: 250
|
|
515
|
+
},
|
|
516
|
+
height: {
|
|
517
|
+
type: Number,
|
|
518
|
+
default: 40
|
|
519
|
+
},
|
|
520
|
+
text: {
|
|
521
|
+
type: String,
|
|
522
|
+
default: "swiping to the right side"
|
|
523
|
+
},
|
|
524
|
+
successText: {
|
|
525
|
+
type: String,
|
|
526
|
+
default: "success"
|
|
527
|
+
},
|
|
528
|
+
background: {
|
|
529
|
+
type: String,
|
|
530
|
+
default: "#eee"
|
|
531
|
+
},
|
|
532
|
+
progressBarBg: {
|
|
533
|
+
type: String,
|
|
534
|
+
default: "#76c61d"
|
|
535
|
+
},
|
|
536
|
+
completedBg: {
|
|
537
|
+
type: String,
|
|
538
|
+
default: "#76c61d"
|
|
539
|
+
},
|
|
540
|
+
circle: {
|
|
541
|
+
type: Boolean,
|
|
542
|
+
default: false
|
|
543
|
+
},
|
|
544
|
+
radius: {
|
|
545
|
+
type: String,
|
|
546
|
+
default: "4px"
|
|
547
|
+
},
|
|
548
|
+
handlerIcon: {
|
|
549
|
+
type: String
|
|
550
|
+
},
|
|
551
|
+
successIcon: {
|
|
552
|
+
type: String
|
|
553
|
+
},
|
|
554
|
+
handlerBg: {
|
|
555
|
+
type: String,
|
|
556
|
+
default: "#fff"
|
|
557
|
+
},
|
|
558
|
+
textSize: {
|
|
559
|
+
type: String,
|
|
560
|
+
default: "14px"
|
|
561
|
+
},
|
|
562
|
+
textColor: {
|
|
563
|
+
type: String,
|
|
564
|
+
default: "#333"
|
|
565
|
+
},
|
|
566
|
+
imgsrc: {
|
|
567
|
+
type: String
|
|
568
|
+
},
|
|
569
|
+
showTips: {
|
|
570
|
+
type: Boolean,
|
|
571
|
+
default: true
|
|
572
|
+
},
|
|
573
|
+
successTip: {
|
|
574
|
+
type: String,
|
|
575
|
+
default: "\u9A8C\u8BC1\u901A\u8FC7"
|
|
576
|
+
},
|
|
577
|
+
failTip: {
|
|
578
|
+
type: String,
|
|
579
|
+
default: "\u9A8C\u8BC1\u5931\u8D25"
|
|
580
|
+
},
|
|
581
|
+
diffDegree: {
|
|
582
|
+
type: Number,
|
|
583
|
+
default: 10
|
|
584
|
+
},
|
|
585
|
+
minDegree: {
|
|
586
|
+
type: Number,
|
|
587
|
+
default: 90
|
|
588
|
+
},
|
|
589
|
+
maxDegree: {
|
|
590
|
+
type: Number,
|
|
591
|
+
default: 270
|
|
592
|
+
}
|
|
593
|
+
},
|
|
594
|
+
mounted: function() {
|
|
595
|
+
const dragEl = this.$refs.dragVerify;
|
|
596
|
+
dragEl.style.setProperty("--textColor", this.textColor);
|
|
597
|
+
dragEl.style.setProperty("--width", Math.floor(this.width / 2) + "px");
|
|
598
|
+
dragEl.style.setProperty("--pwidth", -Math.floor(this.width / 2) + "px");
|
|
599
|
+
},
|
|
600
|
+
computed: {
|
|
601
|
+
handlerStyle: function() {
|
|
602
|
+
return {
|
|
603
|
+
width: this.height + "px",
|
|
604
|
+
height: this.height + "px",
|
|
605
|
+
background: this.handlerBg
|
|
606
|
+
};
|
|
607
|
+
},
|
|
608
|
+
message: function() {
|
|
609
|
+
return this.isPassing ? "" : this.text;
|
|
610
|
+
},
|
|
611
|
+
successMessage: function() {
|
|
612
|
+
return this.isPassing ? this.successText : "";
|
|
613
|
+
},
|
|
614
|
+
dragVerifyStyle: function() {
|
|
615
|
+
return {
|
|
616
|
+
width: this.width + "px",
|
|
617
|
+
height: this.height + "px",
|
|
618
|
+
lineHeight: this.height + "px",
|
|
619
|
+
marginTop: "20px",
|
|
620
|
+
background: this.background,
|
|
621
|
+
borderRadius: this.circle ? this.height / 2 + "px" : this.radius
|
|
622
|
+
};
|
|
623
|
+
},
|
|
624
|
+
dragVerifyImgStyle: function() {
|
|
625
|
+
return {
|
|
626
|
+
width: this.width + "px",
|
|
627
|
+
height: this.width + "px",
|
|
628
|
+
position: "relative",
|
|
629
|
+
overflow: "hidden",
|
|
630
|
+
"border-radius": "50%"
|
|
631
|
+
};
|
|
632
|
+
},
|
|
633
|
+
progressBarStyle: function() {
|
|
634
|
+
return {
|
|
635
|
+
background: this.progressBarBg,
|
|
636
|
+
height: this.height + "px",
|
|
637
|
+
borderRadius: this.circle ? this.height / 2 + "px 0 0 " + this.height / 2 + "px" : this.radius
|
|
638
|
+
};
|
|
639
|
+
},
|
|
640
|
+
textStyle: function() {
|
|
641
|
+
return {
|
|
642
|
+
height: this.height + "px",
|
|
643
|
+
width: this.width + "px",
|
|
644
|
+
fontSize: this.textSize
|
|
645
|
+
};
|
|
646
|
+
},
|
|
647
|
+
factor: function() {
|
|
648
|
+
if (this.minDegree == this.maxDegree) {
|
|
649
|
+
return Math.floor(1 + Math.random() * 6) / 10 + 1;
|
|
650
|
+
}
|
|
651
|
+
return 1;
|
|
652
|
+
}
|
|
653
|
+
},
|
|
654
|
+
data() {
|
|
655
|
+
return {
|
|
656
|
+
isMoving: false,
|
|
657
|
+
x: 0,
|
|
658
|
+
isOk: false,
|
|
659
|
+
showBar: false,
|
|
660
|
+
showErrorTip: false,
|
|
661
|
+
ranRotate: 0,
|
|
662
|
+
cRotate: 0,
|
|
663
|
+
imgStyle: {}
|
|
664
|
+
};
|
|
665
|
+
},
|
|
666
|
+
methods: {
|
|
667
|
+
checkimgLoaded: function() {
|
|
668
|
+
var minDegree = this.minDegree;
|
|
669
|
+
var maxDegree = this.maxDegree;
|
|
670
|
+
var ranRotate = Math.floor(minDegree + Math.random() * (maxDegree - minDegree));
|
|
671
|
+
this.ranRotate = ranRotate;
|
|
672
|
+
this.imgStyle = {
|
|
673
|
+
transform: `rotateZ(${ranRotate}deg)`
|
|
674
|
+
};
|
|
675
|
+
},
|
|
676
|
+
dragStart: function(e) {
|
|
677
|
+
if (!this.isPassing) {
|
|
678
|
+
this.isMoving = true;
|
|
679
|
+
this.x = e.pageX || e.touches[0].pageX;
|
|
680
|
+
}
|
|
681
|
+
this.showBar = true;
|
|
682
|
+
this.showErrorTip = false;
|
|
683
|
+
this.$emit("handlerMove");
|
|
684
|
+
},
|
|
685
|
+
dragMoving: function(e) {
|
|
686
|
+
if (this.isMoving && !this.isPassing) {
|
|
687
|
+
var _x = (e.pageX || e.touches[0].pageX) - this.x;
|
|
688
|
+
var handler = this.$refs.handler;
|
|
689
|
+
handler.style.left = _x + "px";
|
|
690
|
+
var progressBar = this.$refs.progressBar;
|
|
691
|
+
progressBar.style.width = _x + this.height / 2 + "px";
|
|
692
|
+
var cRotate = Math.ceil(_x / (this.width - this.height) * this.maxDegree * this.factor);
|
|
693
|
+
this.cRotate = cRotate;
|
|
694
|
+
var rotate = this.ranRotate - cRotate;
|
|
695
|
+
this.imgStyle = {
|
|
696
|
+
transform: `rotateZ(${rotate}deg)`
|
|
697
|
+
};
|
|
698
|
+
}
|
|
699
|
+
},
|
|
700
|
+
dragFinish: function(e) {
|
|
701
|
+
if (this.isMoving && !this.isPassing) {
|
|
702
|
+
if (Math.abs(this.ranRotate - this.cRotate) > this.diffDegree) {
|
|
703
|
+
this.isOk = true;
|
|
704
|
+
this.imgStyle = {
|
|
705
|
+
transform: `rotateZ(${this.ranRotate}deg)`
|
|
706
|
+
};
|
|
707
|
+
var that = this;
|
|
708
|
+
setTimeout(function() {
|
|
709
|
+
var handler = that.$refs.handler;
|
|
710
|
+
var progressBar = that.$refs.progressBar;
|
|
711
|
+
handler.style.left = "0";
|
|
712
|
+
progressBar.style.width = "0";
|
|
713
|
+
that.isOk = false;
|
|
714
|
+
}, 500);
|
|
715
|
+
this.showErrorTip = true;
|
|
716
|
+
this.$emit("passfail");
|
|
717
|
+
} else {
|
|
718
|
+
this.passVerify();
|
|
719
|
+
}
|
|
720
|
+
this.isMoving = false;
|
|
721
|
+
}
|
|
722
|
+
},
|
|
723
|
+
passVerify: function() {
|
|
724
|
+
this.$emit("update:isPassing", true);
|
|
725
|
+
this.isMoving = false;
|
|
726
|
+
var handler = this.$refs.handler;
|
|
727
|
+
handler.children[0].className = this.successIcon;
|
|
728
|
+
this.$refs.progressBar.style.background = this.completedBg;
|
|
729
|
+
this.$refs.message.style["-webkit-text-fill-color"] = "unset";
|
|
730
|
+
this.$refs.message.style.animation = "slidetounlock2 3s infinite";
|
|
731
|
+
this.$refs.progressBar.style.color = "#fff";
|
|
732
|
+
this.$refs.progressBar.style.fontSize = this.textSize;
|
|
733
|
+
this.$emit("passcallback");
|
|
734
|
+
},
|
|
735
|
+
reset: function() {
|
|
736
|
+
this.reImg();
|
|
737
|
+
this.checkimgLoaded();
|
|
738
|
+
},
|
|
739
|
+
reImg: function() {
|
|
740
|
+
this.$emit("update:isPassing", false);
|
|
741
|
+
const oriData = this.$options.data();
|
|
742
|
+
for (const key in oriData) {
|
|
743
|
+
if (Object.prototype.hasOwnProperty.call(oriData, key)) {
|
|
744
|
+
this[key] = oriData[key];
|
|
745
|
+
}
|
|
746
|
+
}
|
|
747
|
+
var handler = this.$refs.handler;
|
|
748
|
+
var message = this.$refs.message;
|
|
749
|
+
handler.style.left = "0";
|
|
750
|
+
this.$refs.progressBar.style.width = "0";
|
|
751
|
+
handler.children[0].className = this.handlerIcon;
|
|
752
|
+
message.style["-webkit-text-fill-color"] = "transparent";
|
|
753
|
+
message.style.animation = "slidetounlock 3s infinite";
|
|
754
|
+
message.style.color = this.background;
|
|
755
|
+
},
|
|
756
|
+
refreshimg: function() {
|
|
757
|
+
this.$emit("refresh");
|
|
758
|
+
}
|
|
759
|
+
},
|
|
760
|
+
watch: {
|
|
761
|
+
imgsrc: {
|
|
762
|
+
immediate: false,
|
|
763
|
+
handler: function() {
|
|
764
|
+
this.reImg();
|
|
765
|
+
}
|
|
766
|
+
}
|
|
767
|
+
}
|
|
768
|
+
};
|
|
769
|
+
|
|
770
|
+
var _export_sfc = (sfc, props) => {
|
|
771
|
+
const target = sfc.__vccOpts || sfc;
|
|
772
|
+
for (const [key, val] of props) {
|
|
773
|
+
target[key] = val;
|
|
774
|
+
}
|
|
775
|
+
return target;
|
|
776
|
+
};
|
|
777
|
+
|
|
778
|
+
const _hoisted_1$1 = { class: "drag-verify-container" };
|
|
779
|
+
const _hoisted_2 = ["src"];
|
|
780
|
+
const _hoisted_3 = {
|
|
781
|
+
key: 0,
|
|
782
|
+
class: "tips success"
|
|
783
|
+
};
|
|
784
|
+
const _hoisted_4 = {
|
|
785
|
+
key: 1,
|
|
786
|
+
class: "tips danger"
|
|
787
|
+
};
|
|
788
|
+
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
789
|
+
return openBlock(), createElementBlock("div", _hoisted_1$1, [
|
|
790
|
+
createElementVNode(
|
|
791
|
+
"div",
|
|
792
|
+
{
|
|
793
|
+
style: normalizeStyle([$options.dragVerifyImgStyle, { "background-color": "var(--el-color-primary)" }])
|
|
794
|
+
},
|
|
795
|
+
[
|
|
796
|
+
createElementVNode("img", {
|
|
797
|
+
ref: "checkImg",
|
|
798
|
+
src: $props.imgsrc,
|
|
799
|
+
class: normalizeClass(["check-img", { goOrigin: $data.isOk }]),
|
|
800
|
+
onLoad: _cache[0] || (_cache[0] = (...args) => $options.checkimgLoaded && $options.checkimgLoaded(...args)),
|
|
801
|
+
style: normalizeStyle($data.imgStyle),
|
|
802
|
+
alt: ""
|
|
803
|
+
}, null, 46, _hoisted_2),
|
|
804
|
+
$props.showTips && $props.isPassing ? (openBlock(), createElementBlock(
|
|
805
|
+
"div",
|
|
806
|
+
_hoisted_3,
|
|
807
|
+
toDisplayString$1($props.successTip),
|
|
808
|
+
1
|
|
809
|
+
/* TEXT */
|
|
810
|
+
)) : createCommentVNode("v-if", true),
|
|
811
|
+
$props.showTips && !$props.isPassing && $data.showErrorTip ? (openBlock(), createElementBlock(
|
|
812
|
+
"div",
|
|
813
|
+
_hoisted_4,
|
|
814
|
+
toDisplayString$1($props.failTip),
|
|
815
|
+
1
|
|
816
|
+
/* TEXT */
|
|
817
|
+
)) : createCommentVNode("v-if", true)
|
|
818
|
+
],
|
|
819
|
+
4
|
|
820
|
+
/* STYLE */
|
|
821
|
+
),
|
|
822
|
+
createElementVNode(
|
|
823
|
+
"div",
|
|
824
|
+
{
|
|
825
|
+
ref: "dragVerify",
|
|
826
|
+
class: "drag_verify",
|
|
827
|
+
style: normalizeStyle($options.dragVerifyStyle),
|
|
828
|
+
onMousemove: _cache[3] || (_cache[3] = (...args) => $options.dragMoving && $options.dragMoving(...args)),
|
|
829
|
+
onMouseup: _cache[4] || (_cache[4] = (...args) => $options.dragFinish && $options.dragFinish(...args)),
|
|
830
|
+
onMouseleave: _cache[5] || (_cache[5] = (...args) => $options.dragFinish && $options.dragFinish(...args)),
|
|
831
|
+
onTouchmove: _cache[6] || (_cache[6] = withModifiers((...args) => $options.dragMoving && $options.dragMoving(...args), ["prevent"])),
|
|
832
|
+
onTouchend: _cache[7] || (_cache[7] = withModifiers((...args) => $options.dragFinish && $options.dragFinish(...args), ["prevent"]))
|
|
833
|
+
},
|
|
834
|
+
[
|
|
835
|
+
createElementVNode(
|
|
836
|
+
"div",
|
|
837
|
+
{
|
|
838
|
+
class: normalizeClass(["dv_progress_bar", { goFirst2: $data.isOk }]),
|
|
839
|
+
ref: "progressBar",
|
|
840
|
+
style: normalizeStyle($options.progressBarStyle)
|
|
841
|
+
},
|
|
842
|
+
toDisplayString$1($options.successMessage),
|
|
843
|
+
7
|
|
844
|
+
/* TEXT, CLASS, STYLE */
|
|
845
|
+
),
|
|
846
|
+
createElementVNode(
|
|
847
|
+
"div",
|
|
848
|
+
{
|
|
849
|
+
class: "dv_text",
|
|
850
|
+
style: normalizeStyle($options.textStyle),
|
|
851
|
+
ref: "message"
|
|
852
|
+
},
|
|
853
|
+
toDisplayString$1($options.message),
|
|
854
|
+
5
|
|
855
|
+
/* TEXT, STYLE */
|
|
856
|
+
),
|
|
857
|
+
createElementVNode(
|
|
858
|
+
"div",
|
|
859
|
+
{
|
|
860
|
+
class: normalizeClass(["dv_handler dv_handler_bg", { goFirst: $data.isOk }]),
|
|
861
|
+
onMousedown: _cache[1] || (_cache[1] = (...args) => $options.dragStart && $options.dragStart(...args)),
|
|
862
|
+
onTouchstart: _cache[2] || (_cache[2] = withModifiers((...args) => $options.dragStart && $options.dragStart(...args), ["prevent"])),
|
|
863
|
+
ref: "handler",
|
|
864
|
+
style: normalizeStyle([$options.handlerStyle, { "background-color": "var(--el-color-primary)" }])
|
|
865
|
+
},
|
|
866
|
+
[
|
|
867
|
+
createElementVNode(
|
|
868
|
+
"i",
|
|
869
|
+
{
|
|
870
|
+
class: normalizeClass($props.handlerIcon),
|
|
871
|
+
style: { "color": "#fff" }
|
|
872
|
+
},
|
|
873
|
+
null,
|
|
874
|
+
2
|
|
875
|
+
/* CLASS */
|
|
876
|
+
)
|
|
877
|
+
],
|
|
878
|
+
38
|
|
879
|
+
/* CLASS, STYLE, NEED_HYDRATION */
|
|
880
|
+
)
|
|
881
|
+
],
|
|
882
|
+
36
|
|
883
|
+
/* STYLE, NEED_HYDRATION */
|
|
884
|
+
)
|
|
885
|
+
]);
|
|
886
|
+
}
|
|
887
|
+
var dragimg = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["render", _sfc_render], ["__scopeId", "data-v-9e8c9ed2"]]);
|
|
888
|
+
|
|
505
889
|
/*! Element Plus Icons Vue v2.3.1 */
|
|
506
890
|
|
|
507
891
|
var add_location_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
|
|
@@ -6659,8 +7043,9 @@ function elSvg(app) {
|
|
|
6659
7043
|
}
|
|
6660
7044
|
}
|
|
6661
7045
|
|
|
6662
|
-
const FmTransfer = _sfc_main$
|
|
6663
|
-
const FmNoticeBar = _sfc_main$
|
|
7046
|
+
const FmTransfer = _sfc_main$4;
|
|
7047
|
+
const FmNoticeBar = _sfc_main$3;
|
|
7048
|
+
const FmDragImg = dragimg;
|
|
6664
7049
|
|
|
6665
7050
|
const makeInstaller = (components = []) => {
|
|
6666
7051
|
const install = (app) => {
|
|
@@ -51691,4 +52076,4 @@ const version = "1.0.0";
|
|
|
51691
52076
|
|
|
51692
52077
|
const install = installer.install;
|
|
51693
52078
|
|
|
51694
|
-
export { FmLogin, FmNoticeBar, FmTransfer, Local, NextLoading, PUB, Session, Watermark, accessTokenKey, auth, authAll, auths, axiosInstance, base64ToFile, blobToFile, cancelAllRequest, cancelRequest, clearAccessTokens, clearTokens, clone, dataURLtoBlob, decryptJWT, installer as default, directive, downloadByBase64, downloadByData, downloadByOnlineUrl, downloadByUrl, downloadStreamFile, elSvg, feature, fileToBase64, formatAxis, formatDate, formatPast, getCountryCode, getFileName, getFileUrl, getJWTDate, getToken, getWeek, hAuth, hAuthAll, hAuths, i18n, install, isObjectValueEqual, iso_3166_1_CountryList, judgementIdCard, judgementSameArr, languageList, mergMessage, openWindow, pinia, refreshAccessTokenKey, removeDuplicate, request2, service, setupI18n, signatureByKSort, tansParams, urlToBase64, useBaseApi, useChangeColor, useDateTimeShortCust, useKeepALiveNames, useLoginApi, useRequestOldRoutes, useRoutesList, useSysApi, useTagsViewRoutes, useThemeConfig, useUserInfo, useVxeTable, verifiyNumberInteger, verifyAccount, verifyAndSpace, verifyCarNum, verifyCnAndSpace, verifyEmail, verifyEnAndSpace, verifyFullName, verifyIPAddress, verifyIdCard, verifyNumberCnUppercase, verifyNumberComma, verifyNumberIntegerAndFloat, verifyNumberPercentage, verifyNumberPercentageFloat, verifyPassword, verifyPasswordPowerful, verifyPasswordStrength, verifyPhone, verifyPostalCode, verifyTelPhone, verifyTextColor, verifyUrl, version };
|
|
52079
|
+
export { FmDragImg, FmLogin, FmNoticeBar, FmTransfer, Local, NextLoading, PUB, Session, Watermark, accessTokenKey, auth, authAll, auths, axiosInstance, base64ToFile, blobToFile, cancelAllRequest, cancelRequest, clearAccessTokens, clearTokens, clone, dataURLtoBlob, decryptJWT, installer as default, directive, downloadByBase64, downloadByData, downloadByOnlineUrl, downloadByUrl, downloadStreamFile, elSvg, feature, fileToBase64, formatAxis, formatDate, formatPast, getCountryCode, getFileName, getFileUrl, getJWTDate, getToken, getWeek, hAuth, hAuthAll, hAuths, i18n, install, isObjectValueEqual, iso_3166_1_CountryList, judgementIdCard, judgementSameArr, languageList, mergMessage, openWindow, pinia, refreshAccessTokenKey, removeDuplicate, request2, service, setupI18n, signatureByKSort, tansParams, urlToBase64, useBaseApi, useChangeColor, useDateTimeShortCust, useKeepALiveNames, useLoginApi, useRequestOldRoutes, useRoutesList, useSysApi, useTagsViewRoutes, useThemeConfig, useUserInfo, useVxeTable, verifiyNumberInteger, verifyAccount, verifyAndSpace, verifyCarNum, verifyCnAndSpace, verifyEmail, verifyEnAndSpace, verifyFullName, verifyIPAddress, verifyIdCard, verifyNumberCnUppercase, verifyNumberComma, verifyNumberIntegerAndFloat, verifyNumberPercentage, verifyNumberPercentageFloat, verifyPassword, verifyPasswordPowerful, verifyPasswordStrength, verifyPhone, verifyPostalCode, verifyTelPhone, verifyTextColor, verifyUrl, version };
|