mirror of
https://github.com/crmeb/CRMEB.git
synced 2025-12-29 07:00:19 +00:00
7134 lines
294 KiB
JavaScript
7134 lines
294 KiB
JavaScript
!function(t, e) {
|
|
"object" == typeof exports && "object" == typeof module ? module.exports = e(require("vue2")) : "function" == typeof define && define.amd ? define([ "vue2" ], e) : "object" == typeof exports ? exports.ydui = e(require("vue2")) : t.ydui = e(t.Vue);
|
|
}(this, function(t) {
|
|
return function(t) {
|
|
function e(i) {
|
|
if (n[i]) return n[i].exports;
|
|
var r = n[i] = {
|
|
exports: {},
|
|
id: i,
|
|
loaded: !1
|
|
};
|
|
return t[i].call(r.exports, r, r.exports, e), r.loaded = !0, r.exports;
|
|
}
|
|
var n = {};
|
|
return e.m = t, e.c = n, e.p = "/dist/", e(0);
|
|
}([ function(t, e, n) {
|
|
"use strict";
|
|
Object.defineProperty(e, "__esModule", {
|
|
value: !0
|
|
}), n(11);
|
|
var i = n(262), r = n(274), s = n(251), o = n(277), a = n(252), l = n(289), c = n(269), u = n(270), d = n(276), f = n(271), A = n(280), h = n(250), p = n(291), m = n(290), v = n(284), g = n(248), y = n(285), _ = n(273), w = n(286), b = n(287), C = n(255), x = n(279), B = n(256), I = n(282), E = n(292), k = n(278), M = n(257), D = n(283), T = n(272), F = n(268), L = n(281), S = n(253), Q = n(249), R = n(247), $ = n(259), H = n(275), N = n(293), V = n(288), P = n(254);
|
|
window.document.addEventListener("touchstart", function(t) {}, !1);
|
|
var Y = function(t) {
|
|
t.component(r.Layout.name, r.Layout), t.component(s.Button.name, s.Button), t.component(s.ButtonGroup.name, s.ButtonGroup),
|
|
t.component(o.NavBar.name, o.NavBar), t.component(o.NavBarBackIcon.name, o.NavBarBackIcon),
|
|
t.component(o.NavBarNextIcon.name, o.NavBarNextIcon), t.component(a.CellGroup.name, a.CellGroup),
|
|
t.component(a.CellItem.name, a.CellItem), t.component(l.Switch.name, l.Switch),
|
|
t.component(c.GridsItem.name, c.GridsItem), t.component(c.GridsGroup.name, c.GridsGroup),
|
|
t.component(u.Icons.name, u.Icons), t.component(d.ListTheme.name, d.ListTheme),
|
|
t.component(d.ListItem.name, d.ListItem), t.component(d.ListOther.name, d.ListOther),
|
|
t.component(f.InfiniteScroll.name, f.InfiniteScroll), t.component(A.PullRefresh.name, A.PullRefresh),
|
|
t.component(h.Badge.name, h.Badge), t.component(p.TabBar.name, p.TabBar), t.component(p.TabBarItem.name, p.TabBarItem),
|
|
t.component(m.Tab.name, m.Tab), t.component(m.TabPanel.name, m.TabPanel), t.component(v.ScrollTab.name, v.ScrollTab),
|
|
t.component(v.ScrollTabPanel.name, v.ScrollTabPanel), t.component(g.ActionSheet.name, g.ActionSheet),
|
|
t.component(y.SendCode.name, y.SendCode), t.component(_.KeyBoard.name, _.KeyBoard),
|
|
t.component(w.Slider.name, w.Slider), t.component(w.SliderItem.name, w.SliderItem),
|
|
t.component(b.Spinner.name, b.Spinner), t.component(C.CitySelect.name, C.CitySelect),
|
|
t.component(x.ProgressBar.name, x.ProgressBar), t.component(B.CountDown.name, B.CountDown),
|
|
t.component(I.Rate.name, I.Rate), t.component(E.TextArea.name, E.TextArea), t.component(k.Popup.name, k.Popup),
|
|
t.component(M.CountUp.name, M.CountUp), t.component(D.RollNotice.name, D.RollNotice),
|
|
t.component(D.RollNoticeItem.name, D.RollNoticeItem), t.component(T.Input.name, T.Input),
|
|
t.component(F.FlexBox.name, F.FlexBox), t.component(F.FlexBoxItem.name, F.FlexBoxItem),
|
|
t.component(L.Radio.name, L.Radio), t.component(L.RadioGroup.name, L.RadioGroup),
|
|
t.component(S.CheckBox.name, S.CheckBox), t.component(S.CheckBoxGroup.name, S.CheckBoxGroup),
|
|
t.component(Q.BackTop.name, Q.BackTop), t.component(R.Accordion.name, R.Accordion),
|
|
t.component(R.AccordionItem.name, R.AccordionItem), t.component($.DateTime.name, $.DateTime),
|
|
t.component(H.LightBox.name, H.LightBox), t.component(H.LightBoxImg.name, H.LightBoxImg),
|
|
t.component(H.LightBoxTxt.name, H.LightBoxTxt), t.component(N.TimeLine.name, N.TimeLine),
|
|
t.component(N.TimeLineItem.name, N.TimeLineItem), t.component(V.Step.name, V.Step),
|
|
t.component(V.StepItem.name, V.StepItem), t.component(P.CheckList.name, P.CheckList),
|
|
t.component(P.CheckListItem.name, P.CheckListItem), t.prototype.$dialog = {
|
|
confirm: i.Confirm,
|
|
alert: i.Alert,
|
|
toast: i.Toast,
|
|
notify: i.Notify,
|
|
loading: i.Loading
|
|
};
|
|
};
|
|
"undefined" != typeof window && window.Vue && Y(window.Vue), e.default = {
|
|
install: Y
|
|
};
|
|
}, function(t, e) {
|
|
t.exports = function(t, e, n, i) {
|
|
var r, s = t = t || {}, o = typeof t.default;
|
|
"object" !== o && "function" !== o || (r = t, s = t.default);
|
|
var a = "function" == typeof s ? s.options : s;
|
|
if (e && (a.render = e.render, a.staticRenderFns = e.staticRenderFns), n && (a._scopeId = n),
|
|
i) {
|
|
var l = a.computed || (a.computed = {});
|
|
Object.keys(i).forEach(function(t) {
|
|
var e = i[t];
|
|
l[t] = function() {
|
|
return e;
|
|
};
|
|
});
|
|
}
|
|
return {
|
|
esModule: r,
|
|
exports: s,
|
|
options: a
|
|
};
|
|
};
|
|
}, , function(t, e) {
|
|
"use strict";
|
|
Object.defineProperty(e, "__esModule", {
|
|
value: !0
|
|
});
|
|
var n = function() {
|
|
var t = function(t) {
|
|
t.preventDefault(), t.stopPropagation();
|
|
}, e = !1;
|
|
return {
|
|
lock: function(n) {
|
|
e || (e = !0, (n || document).addEventListener("touchmove", t));
|
|
},
|
|
unlock: function(n) {
|
|
e = !1, (n || document).removeEventListener("touchmove", t);
|
|
}
|
|
};
|
|
}(), i = !!(window.navigator && window.navigator.userAgent || "").match(/\(i[^;]+;( U;)? CPU.+Mac OS X/), r = function(t) {
|
|
var e = /^#([a-fA-F0-9]){3}(([a-fA-F0-9]){3})?$/, n = /^[rR][gG][bB][aA]\(\s*((25[0-5]|2[0-4]\d|1?\d{1,2})\s*,\s*){3}\s*(\.|\d+\.)?\d+\s*\)$/, i = /^[rR][gG][bB]\(\s*((25[0-5]|2[0-4]\d|1?\d{1,2})\s*,\s*){2}(25[0-5]|2[0-4]\d|1?\d{1,2})\s*\)$/;
|
|
return e.test(t) || n.test(t) || i.test(t);
|
|
}, s = function(t) {
|
|
for (var e = t; e && "HTML" !== e.tagName && "BODY" !== e.tagName && 1 === e.nodeType; ) {
|
|
var n = document.defaultView.getComputedStyle(e).overflowY;
|
|
if ("scroll" === n || "auto" === n) return e;
|
|
e = e.parentNode;
|
|
}
|
|
return window;
|
|
}, o = function(t, e) {
|
|
var n = t == window ? document.body.offsetHeight : t.offsetHeight, i = t === window ? 0 : t.getBoundingClientRect().top, r = e.getBoundingClientRect().top - i, s = r + e.offsetHeight;
|
|
return r >= 0 && r < n || s > 0 && s <= n;
|
|
}, a = function(t, e) {
|
|
return e = e || "", 0 != e.replace(/\s/g, "").length && new RegExp(" " + e + " ").test(" " + t.className + " ");
|
|
}, l = function(t, e) {
|
|
a(t, e) || (t.className = "" == t.className ? e : t.className + " " + e);
|
|
}, c = function(t, e) {
|
|
if (a(t, e)) {
|
|
for (var n = " " + t.className.replace(/[\t\r\n]/g, "") + " "; n.indexOf(" " + e + " ") >= 0; ) n = n.replace(" " + e + " ", " ");
|
|
t.className = n.replace(/^\s+|\s+$/g, "");
|
|
}
|
|
}, u = function(t) {
|
|
function e(n, i, r) {
|
|
if (n !== i) {
|
|
var s = n + r > i ? i : n + r;
|
|
n > i && (s = n - r < i ? i : n - r), t === window ? window.scrollTo(s, s) : t.scrollTop = s,
|
|
window.requestAnimationFrame(function() {
|
|
return e(s, i, r);
|
|
});
|
|
}
|
|
}
|
|
var n = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : 0, i = arguments[2], r = arguments.length > 3 && void 0 !== arguments[3] ? arguments[3] : 500;
|
|
window.requestAnimationFrame || (window.requestAnimationFrame = window.webkitRequestAnimationFrame || window.mozRequestAnimationFrame || window.msRequestAnimationFrame || function(t) {
|
|
return window.setTimeout(t, 1e3 / 60);
|
|
});
|
|
var s = Math.abs(n - i), o = Math.ceil(s / r * 50);
|
|
e(n, i, o);
|
|
};
|
|
e.pageScroll = n, e.isIOS = i, e.isColor = r, e.getScrollview = s, e.checkInview = o,
|
|
e.addClass = l, e.removeClass = c, e.scrollTop = u;
|
|
}, , function(e, n) {
|
|
e.exports = t;
|
|
}, function(t, e, n) {
|
|
n(26);
|
|
var i = n(1)(n(187), n(134), null, null);
|
|
t.exports = i.exports;
|
|
}, function(t, e, n) {
|
|
var i = n(1)(n(234), n(127), null, null);
|
|
t.exports = i.exports;
|
|
}, function(t, e, n) {
|
|
n(34);
|
|
var i = n(1)(n(235), n(146), null, null);
|
|
t.exports = i.exports;
|
|
}, function(t, e) {
|
|
"use strict";
|
|
Object.defineProperty(e, "__esModule", {
|
|
value: !0
|
|
}), e.default = {
|
|
isDateTimeString: function(t) {
|
|
return /^\d{4}((\.|-|\/)(0[1-9]|1[0-2]))((\.|-|\/)(0[1-9]|[12][0-9]|3[0-1]))( ([01][0-9]|2[0-3]):([012345][0-9]))?$/.test(t);
|
|
},
|
|
isTimeString: function(t) {
|
|
return /^([01][0-9]|2[0-3]):([012345][0-9])$/.test(t);
|
|
},
|
|
mentStr: function(t) {
|
|
return (100 + ~~t + "").substr(1, 2);
|
|
},
|
|
getYearItems: function(t) {
|
|
var e = [], n = ~~t.startYear, i = ~~t.endYear, r = new Date(), s = r.getFullYear() - 10, o = r.getFullYear() + 10;
|
|
for (0 !== n && (s = n), 0 !== i && (o = i), o < s && (o = s + 10), t.startDate && (s = new Date(t.startDate.replace(/-/g, "/")).getFullYear()),
|
|
t.endDate && (o = new Date(t.endDate.replace(/-/g, "/")).getFullYear()), t.startDate > t.endDate && (o = s + 10),
|
|
s < n && 0 !== n && (s = n), o > i && 0 !== i && (o = i); s <= o; ) e.push({
|
|
value: s,
|
|
name: t.format.replace("{value}", s)
|
|
}), s++;
|
|
return e;
|
|
},
|
|
getMonthItems: function(t) {
|
|
var e = [], n = 1, i = 12;
|
|
if (t.startDate) {
|
|
var r = new Date(t.startDate.replace(/-/g, "/"));
|
|
r.getFullYear() === ~~t.currentYear && (n = r.getMonth() + 1);
|
|
}
|
|
if (t.endDate) {
|
|
var s = new Date(t.endDate.replace(/-/g, "/"));
|
|
s.getFullYear() === ~~t.currentYear && (i = s.getMonth() + 1);
|
|
}
|
|
for (;n <= i; ) {
|
|
var o = this.mentStr(n);
|
|
e.push({
|
|
value: o,
|
|
name: t.format.replace("{value}", o)
|
|
}), n++;
|
|
}
|
|
return e;
|
|
},
|
|
getDateItems: function(t) {
|
|
var e = [], n = new Date(), i = n.getFullYear(), r = n.getMonth();
|
|
t.currentYear && (i = ~~t.currentYear), t.currentMonth && (r = ~~t.currentMonth - 1);
|
|
var s = 30;
|
|
if ([ 0, 2, 4, 6, 7, 9, 11 ].indexOf(r) > -1 ? s = 31 : 1 === r && (s = i % 100 === 0 ? i % 400 === 0 ? 29 : 28 : i % 4 === 0 ? 29 : 28),
|
|
t.endDate) {
|
|
var o = new Date(t.endDate.replace(/-/g, "/"));
|
|
o.getMonth() + 1 === ~~t.currentMonth && o.getFullYear() === ~~t.currentYear && o.getDate() < s && (s = o.getDate());
|
|
}
|
|
var a = 1;
|
|
if (t.startDate) {
|
|
var l = new Date(t.startDate.replace(/-/g, "/"));
|
|
l.getMonth() + 1 === ~~t.currentMonth && l.getFullYear() === ~~t.currentYear && (a = l.getDate());
|
|
}
|
|
for (;a <= s; ) {
|
|
var c = this.mentStr(a);
|
|
e.push({
|
|
value: c,
|
|
name: t.format.replace("{value}", c)
|
|
}), a++;
|
|
}
|
|
return e;
|
|
},
|
|
getHourItems: function(t) {
|
|
var e = [], n = ~~t.startHour, i = ~~t.endHour, r = n, s = i;
|
|
if (s < r && (s = 23), t.startDate) {
|
|
var o = new Date(t.startDate.replace(/-/g, "/"));
|
|
o.getFullYear() === ~~t.currentYear && o.getMonth() + 1 === ~~t.currentMonth && o.getDate() === ~~t.currentDay && r <= n && (r = o.getHours(),
|
|
r < n && (r = n));
|
|
}
|
|
if (t.endDate) {
|
|
var a = new Date(t.endDate.replace(/-/g, "/"));
|
|
a.getFullYear() === ~~t.currentYear && a.getMonth() + 1 === ~~t.currentMonth && a.getDate() === ~~t.currentDay && (s = a.getHours()),
|
|
s > i && (s = i);
|
|
}
|
|
for (;r <= s; ) {
|
|
var l = this.mentStr(r);
|
|
e.push({
|
|
value: l,
|
|
name: t.format.replace("{value}", l)
|
|
}), r++;
|
|
}
|
|
return e;
|
|
},
|
|
getMinuteItems: function(t) {
|
|
var e = [], n = 0, i = 59;
|
|
if (t.startDate) {
|
|
var r = new Date(t.startDate.replace(/-/g, "/"));
|
|
r.getFullYear() === ~~t.currentYear && r.getMonth() + 1 === ~~t.currentMonth && r.getDate() === ~~t.currentDay && r.getHours() === ~~t.currentHour && (n = r.getMinutes());
|
|
}
|
|
if (t.endDate) {
|
|
var s = new Date(t.endDate.replace(/-/g, "/"));
|
|
s.getFullYear() === ~~t.currentYear && s.getMonth() + 1 === ~~t.currentMonth && s.getDate() === ~~t.currentDay && s.getHours() === ~~t.currentHour && (i = s.getMinutes());
|
|
}
|
|
for (;n <= i; ) {
|
|
var o = this.mentStr(n);
|
|
e.push({
|
|
value: o,
|
|
name: t.format.replace("{value}", o)
|
|
}), n++;
|
|
}
|
|
return e;
|
|
}
|
|
};
|
|
}, function(t, e, n) {
|
|
function i(t, e) {
|
|
for (var n = 0; n < t.length; n++) {
|
|
var i = t[n], r = A[i.id];
|
|
if (r) {
|
|
r.refs++;
|
|
for (var s = 0; s < r.parts.length; s++) r.parts[s](i.parts[s]);
|
|
for (;s < i.parts.length; s++) r.parts.push(c(i.parts[s], e));
|
|
} else {
|
|
for (var o = [], s = 0; s < i.parts.length; s++) o.push(c(i.parts[s], e));
|
|
A[i.id] = {
|
|
id: i.id,
|
|
refs: 1,
|
|
parts: o
|
|
};
|
|
}
|
|
}
|
|
}
|
|
function r(t) {
|
|
for (var e = [], n = {}, i = 0; i < t.length; i++) {
|
|
var r = t[i], s = r[0], o = r[1], a = r[2], l = r[3], c = {
|
|
css: o,
|
|
media: a,
|
|
sourceMap: l
|
|
};
|
|
n[s] ? n[s].parts.push(c) : e.push(n[s] = {
|
|
id: s,
|
|
parts: [ c ]
|
|
});
|
|
}
|
|
return e;
|
|
}
|
|
function s(t, e) {
|
|
var n = m(), i = y[y.length - 1];
|
|
if ("top" === t.insertAt) i ? i.nextSibling ? n.insertBefore(e, i.nextSibling) : n.appendChild(e) : n.insertBefore(e, n.firstChild),
|
|
y.push(e); else {
|
|
if ("bottom" !== t.insertAt) throw new Error("Invalid value for parameter 'insertAt'. Must be 'top' or 'bottom'.");
|
|
n.appendChild(e);
|
|
}
|
|
}
|
|
function o(t) {
|
|
t.parentNode.removeChild(t);
|
|
var e = y.indexOf(t);
|
|
e >= 0 && y.splice(e, 1);
|
|
}
|
|
function a(t) {
|
|
var e = document.createElement("style");
|
|
return e.type = "text/css", s(t, e), e;
|
|
}
|
|
function l(t) {
|
|
var e = document.createElement("link");
|
|
return e.rel = "stylesheet", s(t, e), e;
|
|
}
|
|
function c(t, e) {
|
|
var n, i, r;
|
|
if (e.singleton) {
|
|
var s = g++;
|
|
n = v || (v = a(e)), i = u.bind(null, n, s, !1), r = u.bind(null, n, s, !0);
|
|
} else t.sourceMap && "function" == typeof URL && "function" == typeof URL.createObjectURL && "function" == typeof URL.revokeObjectURL && "function" == typeof Blob && "function" == typeof btoa ? (n = l(e),
|
|
i = f.bind(null, n), r = function() {
|
|
o(n), n.href && URL.revokeObjectURL(n.href);
|
|
}) : (n = a(e), i = d.bind(null, n), r = function() {
|
|
o(n);
|
|
});
|
|
return i(t), function(e) {
|
|
if (e) {
|
|
if (e.css === t.css && e.media === t.media && e.sourceMap === t.sourceMap) return;
|
|
i(t = e);
|
|
} else r();
|
|
};
|
|
}
|
|
function u(t, e, n, i) {
|
|
var r = n ? "" : i.css;
|
|
if (t.styleSheet) t.styleSheet.cssText = _(e, r); else {
|
|
var s = document.createTextNode(r), o = t.childNodes;
|
|
o[e] && t.removeChild(o[e]), o.length ? t.insertBefore(s, o[e]) : t.appendChild(s);
|
|
}
|
|
}
|
|
function d(t, e) {
|
|
var n = e.css, i = e.media;
|
|
if (i && t.setAttribute("media", i), t.styleSheet) t.styleSheet.cssText = n; else {
|
|
for (;t.firstChild; ) t.removeChild(t.firstChild);
|
|
t.appendChild(document.createTextNode(n));
|
|
}
|
|
}
|
|
function f(t, e) {
|
|
var n = e.css, i = e.sourceMap;
|
|
i && (n += "\n/*# sourceMappingURL=data:application/json;base64," + btoa(unescape(encodeURIComponent(JSON.stringify(i)))) + " */");
|
|
var r = new Blob([ n ], {
|
|
type: "text/css"
|
|
}), s = t.href;
|
|
t.href = URL.createObjectURL(r), s && URL.revokeObjectURL(s);
|
|
}
|
|
var A = {}, h = function(t) {
|
|
var e;
|
|
return function() {
|
|
return "undefined" == typeof e && (e = t.apply(this, arguments)), e;
|
|
};
|
|
}, p = h(function() {
|
|
return /msie [6-9]\b/.test(self.navigator.userAgent.toLowerCase());
|
|
}), m = h(function() {
|
|
return document.head || document.getElementsByTagName("head")[0];
|
|
}), v = null, g = 0, y = [];
|
|
t.exports = function(t, e) {
|
|
e = e || {}, "undefined" == typeof e.singleton && (e.singleton = p()), "undefined" == typeof e.insertAt && (e.insertAt = "bottom");
|
|
var n = r(t);
|
|
return i(n, e), function(t) {
|
|
for (var s = [], o = 0; o < n.length; o++) {
|
|
var a = n[o], l = A[a.id];
|
|
l.refs--, s.push(l);
|
|
}
|
|
if (t) {
|
|
var c = r(t);
|
|
i(c, e);
|
|
}
|
|
for (var o = 0; o < s.length; o++) {
|
|
var l = s[o];
|
|
if (0 === l.refs) {
|
|
for (var u = 0; u < l.parts.length; u++) l.parts[u]();
|
|
delete A[l.id];
|
|
}
|
|
}
|
|
};
|
|
};
|
|
var _ = function() {
|
|
var t = [];
|
|
return function(e, n) {
|
|
return t[e] = n, t.filter(Boolean).join("\n");
|
|
};
|
|
}();
|
|
}, function(t, e, n) {
|
|
var i = n(12);
|
|
"string" == typeof i && (i = [ [ t.id, i, "" ] ]);
|
|
n(10)(i, {});
|
|
i.locals && (t.exports = i.locals);
|
|
}, function(t, e, n) {
|
|
e = t.exports = n(13)(), e.push([ t.id, '*,:after,:before{box-sizing:border-box;outline:none}body,html{height:100%}body{background-color:#f5f5f5;font-size:12px;-webkit-font-smoothing:antialiased;font-family:arial,sans-serif}blockquote,body,button,dd,dl,dt,fieldset,form,h1,h2,h3,h4,h5,h6,hr,iframe,input,legend,li,ol,p,pre,td,textarea,th,ul{margin:0;padding:0}article,aside,audio,details,figcaption,figure,footer,header,img,mark,menu,nav,section,summary,time,video{display:block;margin:0;padding:0}h1,h2,h3,h4,h5,h6{font-size:100%}fieldset,img{border:0}address,caption,cite,dfn,em,i,th,var{font-style:normal;font-weight:400}ol,ul{list-style:none}a{color:inherit}a,a:hover{text-decoration:none}a,button,input,label,select{-webkit-tap-highlight-color:rgba(0,0,0,0)}button,input,select{font:100% tahoma,\\5b8b\\4f53,arial;vertical-align:baseline;border-radius:0;background-color:transparent}select{-webkit-appearance:none;-moz-appearance:none}button::-moz-focus-inner,input[type=button]::-moz-focus-inner,input[type=file]>input[type=button]::-moz-focus-inner,input[type=reset]::-moz-focus-inner,input[type=submit]::-moz-focus-inner{border:none}input[type=checkbox],input[type=radio]{vertical-align:middle}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none!important;-moz-appearance:none!important;margin:0}input:-webkit-autofill{-webkit-box-shadow:0 0 0 1000px #fff inset}textarea{outline:none;border-radius:0;-webkit-appearance:none;-moz-appearance:none;overflow:auto;resize:none;font:100% tahoma,\\5b8b\\4f53,arial}@font-face{font-family:YDUI-INLAY;src:url(data:application/x-font-ttf;base64,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) format("truetype")}.g-fix-ios-overflow-scrolling-bug{-webkit-overflow-scrolling:auto!important}', "" ]);
|
|
}, function(t, e) {
|
|
t.exports = function() {
|
|
var t = [];
|
|
return t.toString = function() {
|
|
for (var t = [], e = 0; e < this.length; e++) {
|
|
var n = this[e];
|
|
n[2] ? t.push("@media " + n[2] + "{" + n[1] + "}") : t.push(n[1]);
|
|
}
|
|
return t.join("");
|
|
}, t.i = function(e, n) {
|
|
"string" == typeof e && (e = [ [ null, e, "" ] ]);
|
|
for (var i = {}, r = 0; r < this.length; r++) {
|
|
var s = this[r][0];
|
|
"number" == typeof s && (i[s] = !0);
|
|
}
|
|
for (r = 0; r < e.length; r++) {
|
|
var o = e[r];
|
|
"number" == typeof o[0] && i[o[0]] || (n && !o[2] ? o[2] = n : n && (o[2] = "(" + o[2] + ") and (" + n + ")"),
|
|
t.push(o));
|
|
}
|
|
}, t;
|
|
};
|
|
}, function(t, e) {}, function(t, e) {}, function(t, e) {}, function(t, e) {}, function(t, e) {}, function(t, e) {}, function(t, e) {}, function(t, e) {}, function(t, e) {}, function(t, e) {}, function(t, e) {}, function(t, e) {}, function(t, e) {}, function(t, e) {}, function(t, e) {}, function(t, e) {}, function(t, e) {}, function(t, e) {}, function(t, e) {}, function(t, e) {}, function(t, e) {}, function(t, e) {}, function(t, e) {}, function(t, e) {}, function(t, e) {}, function(t, e) {}, function(t, e) {}, function(t, e) {}, function(t, e) {}, function(t, e) {}, function(t, e) {}, function(t, e) {}, function(t, e) {}, function(t, e) {}, function(t, e) {}, function(t, e) {}, function(t, e, n) {
|
|
var i = n(1)(n(181), n(166), null, null);
|
|
t.exports = i.exports;
|
|
}, function(t, e, n) {
|
|
n(30);
|
|
var i = n(1)(n(182), n(142), null, null);
|
|
t.exports = i.exports;
|
|
}, function(t, e, n) {
|
|
n(17);
|
|
var i = n(1)(n(183), n(118), null, null);
|
|
t.exports = i.exports;
|
|
}, function(t, e, n) {
|
|
n(24);
|
|
var i = n(1)(n(184), n(131), null, null);
|
|
t.exports = i.exports;
|
|
}, function(t, e, n) {
|
|
n(28);
|
|
var i = n(1)(n(185), n(137), null, null);
|
|
t.exports = i.exports;
|
|
}, function(t, e, n) {
|
|
var i = n(1)(n(186), n(149), null, null);
|
|
t.exports = i.exports;
|
|
}, function(t, e, n) {
|
|
var i = n(1)(n(188), n(168), null, null);
|
|
t.exports = i.exports;
|
|
}, function(t, e, n) {
|
|
n(36);
|
|
var i = n(1)(n(189), n(148), null, null);
|
|
t.exports = i.exports;
|
|
}, function(t, e, n) {
|
|
var i = n(1)(n(190), n(136), null, null);
|
|
t.exports = i.exports;
|
|
}, function(t, e, n) {
|
|
n(43);
|
|
var i = n(1)(n(191), n(162), null, null);
|
|
t.exports = i.exports;
|
|
}, function(t, e, n) {
|
|
var i = n(1)(n(192), n(160), null, null);
|
|
t.exports = i.exports;
|
|
}, function(t, e, n) {
|
|
n(49);
|
|
var i = n(1)(n(193), n(179), null, null);
|
|
t.exports = i.exports;
|
|
}, function(t, e, n) {
|
|
n(37);
|
|
var i = n(1)(n(194), n(153), null, null);
|
|
t.exports = i.exports;
|
|
}, function(t, e, n) {
|
|
var i = n(1)(n(195), n(155), null, null);
|
|
t.exports = i.exports;
|
|
}, function(t, e, n) {
|
|
var i = n(1)(n(196), n(150), null, null);
|
|
t.exports = i.exports;
|
|
}, function(t, e, n) {
|
|
n(47);
|
|
var i = n(1)(n(197), n(176), null, null);
|
|
t.exports = i.exports;
|
|
}, function(t, e, n) {
|
|
var i = n(1)(n(198), n(154), null, null);
|
|
t.exports = i.exports;
|
|
}, function(t, e, n) {
|
|
n(23);
|
|
var i = n(1)(n(199), n(125), null, null);
|
|
t.exports = i.exports;
|
|
}, function(t, e, n) {
|
|
var i = n(1)(n(200), n(163), null, null);
|
|
t.exports = i.exports;
|
|
}, function(t, e, n) {
|
|
var i = n(1)(n(201), n(174), null, null);
|
|
t.exports = i.exports;
|
|
}, function(t, e, n) {
|
|
var i = n(1)(n(202), n(114), null, null);
|
|
t.exports = i.exports;
|
|
}, function(t, e, n) {
|
|
var i = n(1)(n(203), n(129), null, null);
|
|
t.exports = i.exports;
|
|
}, function(t, e, n) {
|
|
var i = n(1)(n(204), n(165), null, null);
|
|
t.exports = i.exports;
|
|
}, function(t, e, n) {
|
|
n(32);
|
|
var i = n(1)(n(205), n(144), null, null);
|
|
t.exports = i.exports;
|
|
}, function(t, e, n) {
|
|
var i = n(1)(n(206), n(170), null, null);
|
|
t.exports = i.exports;
|
|
}, function(t, e, n) {
|
|
n(15);
|
|
var i = n(1)(n(207), n(116), null, null);
|
|
t.exports = i.exports;
|
|
}, function(t, e, n) {
|
|
n(22);
|
|
var i = n(1)(n(208), n(124), null, null);
|
|
t.exports = i.exports;
|
|
}, function(t, e, n) {
|
|
n(39);
|
|
var i = n(1)(n(209), n(157), null, null);
|
|
t.exports = i.exports;
|
|
}, function(t, e, n) {
|
|
var i = n(1)(null, n(169), null, null);
|
|
t.exports = i.exports;
|
|
}, function(t, e, n) {
|
|
n(21);
|
|
var i = n(1)(n(210), n(123), null, null);
|
|
t.exports = i.exports;
|
|
}, function(t, e, n) {
|
|
n(45);
|
|
var i = n(1)(n(211), n(167), null, null);
|
|
t.exports = i.exports;
|
|
}, function(t, e, n) {
|
|
n(18);
|
|
var i = n(1)(n(212), n(119), null, null);
|
|
t.exports = i.exports;
|
|
}, function(t, e, n) {
|
|
var i = n(1)(n(213), n(151), null, null);
|
|
t.exports = i.exports;
|
|
}, function(t, e, n) {
|
|
var i = n(1)(n(214), n(138), null, null);
|
|
t.exports = i.exports;
|
|
}, function(t, e, n) {
|
|
var i = n(1)(n(215), n(175), null, null);
|
|
t.exports = i.exports;
|
|
}, function(t, e, n) {
|
|
n(16);
|
|
var i = n(1)(n(216), n(117), null, null);
|
|
t.exports = i.exports;
|
|
}, function(t, e, n) {
|
|
var i = n(1)(n(217), n(140), null, null);
|
|
t.exports = i.exports;
|
|
}, function(t, e, n) {
|
|
var i = n(1)(n(218), n(152), null, null);
|
|
t.exports = i.exports;
|
|
}, function(t, e, n) {
|
|
n(29);
|
|
var i = n(1)(n(219), n(141), null, null);
|
|
t.exports = i.exports;
|
|
}, function(t, e, n) {
|
|
var i = n(1)(n(220), n(126), null, null);
|
|
t.exports = i.exports;
|
|
}, function(t, e, n) {
|
|
var i = n(1)(n(221), n(139), null, null);
|
|
t.exports = i.exports;
|
|
}, function(t, e, n) {
|
|
n(42);
|
|
var i = n(1)(n(222), n(161), null, null);
|
|
t.exports = i.exports;
|
|
}, function(t, e, n) {
|
|
n(48);
|
|
var i = n(1)(n(223), n(177), null, null);
|
|
t.exports = i.exports;
|
|
}, function(t, e, n) {
|
|
n(41);
|
|
var i = n(1)(n(224), n(159), null, null);
|
|
t.exports = i.exports;
|
|
}, function(t, e, n) {
|
|
n(19);
|
|
var i = n(1)(n(225), n(120), null, null);
|
|
t.exports = i.exports;
|
|
}, function(t, e, n) {
|
|
n(46);
|
|
var i = n(1)(n(226), n(173), null, null);
|
|
t.exports = i.exports;
|
|
}, function(t, e, n) {
|
|
var i = n(1)(n(227), n(172), null, null);
|
|
t.exports = i.exports;
|
|
}, function(t, e, n) {
|
|
n(14);
|
|
var i = n(1)(n(228), n(115), null, null);
|
|
t.exports = i.exports;
|
|
}, function(t, e, n) {
|
|
var i = n(1)(n(229), n(132), null, null);
|
|
t.exports = i.exports;
|
|
}, function(t, e, n) {
|
|
n(35);
|
|
var i = n(1)(n(230), n(147), null, null);
|
|
t.exports = i.exports;
|
|
}, function(t, e, n) {
|
|
var i = n(1)(n(231), n(130), null, null);
|
|
t.exports = i.exports;
|
|
}, function(t, e, n) {
|
|
n(27);
|
|
var i = n(1)(n(232), n(135), null, null);
|
|
t.exports = i.exports;
|
|
}, function(t, e, n) {
|
|
var i = n(1)(n(233), n(122), null, null);
|
|
t.exports = i.exports;
|
|
}, function(t, e, n) {
|
|
n(40);
|
|
var i = n(1)(n(236), n(158), null, null);
|
|
t.exports = i.exports;
|
|
}, function(t, e, n) {
|
|
var i = n(1)(n(237), n(180), null, null);
|
|
t.exports = i.exports;
|
|
}, function(t, e, n) {
|
|
n(44);
|
|
var i = n(1)(n(238), n(164), null, null);
|
|
t.exports = i.exports;
|
|
}, function(t, e, n) {
|
|
n(38);
|
|
var i = n(1)(n(239), n(156), null, null);
|
|
t.exports = i.exports;
|
|
}, function(t, e, n) {
|
|
var i = n(1)(n(240), n(178), null, null);
|
|
t.exports = i.exports;
|
|
}, function(t, e, n) {
|
|
n(25);
|
|
var i = n(1)(n(241), n(133), null, null);
|
|
t.exports = i.exports;
|
|
}, function(t, e, n) {
|
|
var i = n(1)(n(242), n(171), null, null);
|
|
t.exports = i.exports;
|
|
}, function(t, e, n) {
|
|
n(31);
|
|
var i = n(1)(n(243), n(143), null, null);
|
|
t.exports = i.exports;
|
|
}, function(t, e, n) {
|
|
n(20);
|
|
var i = n(1)(n(244), n(121), null, null);
|
|
t.exports = i.exports;
|
|
}, function(t, e, n) {
|
|
var i = n(1)(n(245), n(128), null, null);
|
|
t.exports = i.exports;
|
|
}, function(t, e, n) {
|
|
n(33);
|
|
var i = n(1)(n(246), n(145), null, null);
|
|
t.exports = i.exports;
|
|
}, function(t, e) {
|
|
t.exports = {
|
|
render: function() {
|
|
var t = this, e = t.$createElement, n = t._self._c || e;
|
|
return n("div", {
|
|
staticClass: "yd-notify",
|
|
"class": t.classes,
|
|
domProps: {
|
|
innerHTML: t._s(t.mes)
|
|
}
|
|
});
|
|
},
|
|
staticRenderFns: []
|
|
};
|
|
}, function(t, e) {
|
|
t.exports = {
|
|
render: function() {
|
|
var t = this, e = t.$createElement, n = t._self._c || e;
|
|
return n("span", {
|
|
staticClass: "yd-rate",
|
|
style: {
|
|
fontSize: t.size,
|
|
color: t.color
|
|
}
|
|
}, [ t._l(~~t.count, function(e) {
|
|
return n("a", {
|
|
"class": t.index >= e ? "rate-active" : "",
|
|
style: {
|
|
color: t.index >= e ? t.activeColor : t.color,
|
|
paddingRight: t.padding
|
|
},
|
|
attrs: {
|
|
href: "javascript:;"
|
|
},
|
|
on: {
|
|
click: function(n) {
|
|
!t.readonly && t.choose(e);
|
|
}
|
|
}
|
|
});
|
|
}), t._v(" "), t.str ? n("span", {
|
|
staticClass: "yd-rate-text",
|
|
domProps: {
|
|
innerHTML: t._s(t.str)
|
|
}
|
|
}) : t._e() ], 2);
|
|
},
|
|
staticRenderFns: []
|
|
};
|
|
}, function(t, e) {
|
|
t.exports = {
|
|
render: function() {
|
|
var t = this, e = t.$createElement, n = t._self._c || e;
|
|
return n("router-link", {
|
|
staticClass: "yd-grids-item",
|
|
attrs: {
|
|
to: t.link || ""
|
|
}
|
|
}, [ t.checkIcon ? n("div", {
|
|
staticClass: "yd-grids-icon"
|
|
}, [ t._t("icon") ], 2) : t._e(), t._v(" "), t.checkText ? n("div", {
|
|
staticClass: "yd-grids-txt"
|
|
}, [ t._t("text") ], 2) : t._e(), t._v(" "), t._t("else") ], 2);
|
|
},
|
|
staticRenderFns: []
|
|
};
|
|
}, function(t, e) {
|
|
t.exports = {
|
|
render: function() {
|
|
var t = this, e = t.$createElement, n = t._self._c || e;
|
|
return n("div", [ t._t("default") ], 2);
|
|
},
|
|
staticRenderFns: []
|
|
};
|
|
}, function(t, e) {
|
|
t.exports = {
|
|
render: function() {
|
|
var t = this, e = t.$createElement, n = t._self._c || e;
|
|
return n("div", [ n("div", {
|
|
directives: [ {
|
|
name: "show",
|
|
rawName: "v-show",
|
|
value: t.show,
|
|
expression: "show"
|
|
} ],
|
|
staticClass: "yd-actionsheet-mask",
|
|
on: {
|
|
click: function(e) {
|
|
e.stopPropagation(), t.close(e);
|
|
}
|
|
}
|
|
}), t._v(" "), n("div", {
|
|
staticClass: "yd-actionsheet",
|
|
"class": t.show ? "yd-actionsheet-active" : ""
|
|
}, [ t._l(t.items, function(e) {
|
|
return n("a", {
|
|
staticClass: "yd-actionsheet-item",
|
|
attrs: {
|
|
href: "javascript:;"
|
|
},
|
|
on: {
|
|
click: function(n) {
|
|
n.stopPropagation(), t.itemClick(e);
|
|
}
|
|
}
|
|
}, [ t._v(t._s(e.label)) ]);
|
|
}), t._v(" "), t.cancel ? n("a", {
|
|
staticClass: "yd-actionsheet-action",
|
|
attrs: {
|
|
href: "javascript:;"
|
|
},
|
|
on: {
|
|
click: function(e) {
|
|
e.stopPropagation(), t.close(e);
|
|
}
|
|
}
|
|
}, [ t._v(t._s(t.cancel)) ]) : t._e() ], 2) ]);
|
|
},
|
|
staticRenderFns: []
|
|
};
|
|
}, function(t, e) {
|
|
t.exports = {
|
|
render: function() {
|
|
var t = this, e = t.$createElement, n = t._self._c || e;
|
|
return n("section", {
|
|
staticClass: "yd-flexview"
|
|
}, [ t.showNavbar ? t._t("navbar", [ t.title ? n("yd-navbar", {
|
|
attrs: {
|
|
title: t.title
|
|
}
|
|
}, [ n("router-link", {
|
|
attrs: {
|
|
to: t.link || "/"
|
|
},
|
|
slot: "left"
|
|
}, [ n("yd-navbar-back-icon") ], 1) ], 1) : t._e() ]) : t._e(), t._v(" "), t._t("top"), t._v(" "), n("section", {
|
|
ref: "scrollView",
|
|
staticClass: "yd-scrollview",
|
|
attrs: {
|
|
id: "scrollView"
|
|
}
|
|
}, [ t._t("default") ], 2), t._v(" "), t._t("bottom"), t._v(" "), t._t("tabbar") ], 2);
|
|
},
|
|
staticRenderFns: []
|
|
};
|
|
}, function(t, e) {
|
|
t.exports = {
|
|
render: function() {
|
|
var t = this, e = t.$createElement, n = t._self._c || e;
|
|
return n("div", [ n("div", {
|
|
ref: "dragBox"
|
|
}, [ t._t("default"), t._v(" "), n("div", {
|
|
directives: [ {
|
|
name: "show",
|
|
rawName: "v-show",
|
|
value: t.touches.isDraging,
|
|
expression: "touches.isDraging"
|
|
} ],
|
|
ref: "dragTip",
|
|
staticClass: "yd-pullrefresh-dragtip",
|
|
"class": t.dragTip.animationTiming,
|
|
style: {
|
|
transform: "translate3d(0, " + t.dragTip.translate + "px, 0) scale(" + t.dragTip.scale + ")"
|
|
}
|
|
}, [ n("span", {
|
|
"class": t.dragTip.loadingIcon,
|
|
style: {
|
|
transform: "rotate(" + t.dragTip.iconRotate + "deg)",
|
|
opacity: t.dragTip.iconOpacity
|
|
}
|
|
}) ]) ], 2), t._v(" "), t.showHelpTag ? n("div", {
|
|
staticClass: "yd-pullrefresh-draghelp",
|
|
on: {
|
|
click: function(e) {
|
|
t.showHelpTag = !1;
|
|
}
|
|
}
|
|
}, [ t._m(0) ]) : t._e() ]);
|
|
},
|
|
staticRenderFns: [ function() {
|
|
var t = this, e = t.$createElement, n = t._self._c || e;
|
|
return n("div", [ n("span", [ t._v("下拉更新") ]) ]);
|
|
} ]
|
|
};
|
|
}, function(t, e) {
|
|
t.exports = {
|
|
render: function() {
|
|
var t = this, e = t.$createElement, n = t._self._c || e;
|
|
return n("div", {
|
|
staticClass: "yd-textarea"
|
|
}, [ n("textarea", {
|
|
directives: [ {
|
|
name: "model",
|
|
rawName: "v-model",
|
|
value: t.mlstr,
|
|
expression: "mlstr"
|
|
} ],
|
|
attrs: {
|
|
placeholder: t.placeholder,
|
|
maxlength: t.maxlength,
|
|
readonly: t.readonly
|
|
},
|
|
domProps: {
|
|
value: t.mlstr
|
|
},
|
|
on: {
|
|
input: function(e) {
|
|
e.target.composing || (t.mlstr = e.target.value);
|
|
}
|
|
}
|
|
}), t._v(" "), t.showCounter && t.maxlength ? n("div", {
|
|
staticClass: "yd-textarea-counter"
|
|
}, [ t._v(t._s(t.num) + "/" + t._s(t.maxlength)) ]) : t._e() ]);
|
|
},
|
|
staticRenderFns: []
|
|
};
|
|
}, function(t, e) {
|
|
t.exports = {
|
|
render: function() {
|
|
var t = this, e = t.$createElement, n = t._self._c || e;
|
|
return n("yd-sendcode-button", {
|
|
"class": t.start ? "btn-disabled" : "",
|
|
style: {
|
|
backgroundColor: t.bgcolor,
|
|
color: t.color
|
|
},
|
|
attrs: {
|
|
size: t.size,
|
|
type: t.type,
|
|
disabled: t.start
|
|
}
|
|
}, [ t._v(t._s(t.tmpStr) + "\n") ]);
|
|
},
|
|
staticRenderFns: []
|
|
};
|
|
}, function(t, e) {
|
|
t.exports = {
|
|
render: function() {
|
|
var t = this, e = t.$createElement, n = t._self._c || e;
|
|
return n("div", {
|
|
staticClass: "yd-input"
|
|
}, [ "mobile" == t.regex ? [ n("input", {
|
|
directives: [ {
|
|
name: "model",
|
|
rawName: "v-model",
|
|
value: t.currentValue,
|
|
expression: "currentValue"
|
|
} ],
|
|
attrs: {
|
|
type: "tel",
|
|
pattern: "[0-9]*",
|
|
name: t.name,
|
|
maxlength: "11",
|
|
placeholder: t.placeholder,
|
|
autocomplete: t.autocomplete,
|
|
readonly: t.readonly,
|
|
disabled: t.disabled
|
|
},
|
|
domProps: {
|
|
value: t.currentValue
|
|
},
|
|
on: {
|
|
focus: function(e) {
|
|
t.showClear = !0;
|
|
},
|
|
blur: t.blurHandler,
|
|
input: function(e) {
|
|
e.target.composing || (t.currentValue = e.target.value);
|
|
}
|
|
}
|
|
}) ] : [ "password" == t.type ? [ t.showPwd ? t._e() : n("input", {
|
|
directives: [ {
|
|
name: "model",
|
|
rawName: "v-model",
|
|
value: t.currentValue,
|
|
expression: "currentValue"
|
|
} ],
|
|
attrs: {
|
|
type: "password",
|
|
name: t.name,
|
|
maxlength: t.max,
|
|
placeholder: t.placeholder,
|
|
autocomplete: t.autocomplete,
|
|
readonly: t.readonly,
|
|
disabled: t.disabled
|
|
},
|
|
domProps: {
|
|
value: t.currentValue
|
|
},
|
|
on: {
|
|
focus: function(e) {
|
|
t.showClear = !0;
|
|
},
|
|
blur: t.blurHandler,
|
|
input: function(e) {
|
|
e.target.composing || (t.currentValue = e.target.value);
|
|
}
|
|
}
|
|
}), t._v(" "), t.showPwd ? n("input", {
|
|
directives: [ {
|
|
name: "model",
|
|
rawName: "v-model",
|
|
value: t.currentValue,
|
|
expression: "currentValue"
|
|
} ],
|
|
attrs: {
|
|
type: "text",
|
|
name: t.name,
|
|
maxlength: t.max,
|
|
placeholder: t.placeholder,
|
|
autocomplete: t.autocomplete,
|
|
readonly: t.readonly,
|
|
disabled: t.disabled
|
|
},
|
|
domProps: {
|
|
value: t.currentValue
|
|
},
|
|
on: {
|
|
focus: function(e) {
|
|
t.showClear = !0;
|
|
},
|
|
blur: t.blurHandler,
|
|
input: function(e) {
|
|
e.target.composing || (t.currentValue = e.target.value);
|
|
}
|
|
}
|
|
}) : t._e() ] : t._e(), t._v(" "), "text" == t.type ? n("input", {
|
|
directives: [ {
|
|
name: "model",
|
|
rawName: "v-model",
|
|
value: t.currentValue,
|
|
expression: "currentValue"
|
|
} ],
|
|
attrs: {
|
|
type: "text",
|
|
name: t.name,
|
|
maxlength: t.max,
|
|
placeholder: t.placeholder,
|
|
autocomplete: t.autocomplete,
|
|
readonly: t.readonly,
|
|
disabled: t.disabled
|
|
},
|
|
domProps: {
|
|
value: t.currentValue
|
|
},
|
|
on: {
|
|
focus: function(e) {
|
|
t.showClear = !0;
|
|
},
|
|
blur: t.blurHandler,
|
|
input: function(e) {
|
|
e.target.composing || (t.currentValue = e.target.value);
|
|
}
|
|
}
|
|
}) : t._e(), t._v(" "), "number" == t.type ? n("input", {
|
|
directives: [ {
|
|
name: "model",
|
|
rawName: "v-model",
|
|
value: t.currentValue,
|
|
expression: "currentValue"
|
|
} ],
|
|
attrs: {
|
|
type: "number",
|
|
name: t.name,
|
|
maxlength: t.max,
|
|
placeholder: t.placeholder,
|
|
autocomplete: t.autocomplete,
|
|
readonly: t.readonly,
|
|
disabled: t.disabled
|
|
},
|
|
domProps: {
|
|
value: t.currentValue
|
|
},
|
|
on: {
|
|
focus: function(e) {
|
|
t.showClear = !0;
|
|
},
|
|
blur: t.blurHandler,
|
|
input: function(e) {
|
|
e.target.composing || (t.currentValue = e.target.value);
|
|
}
|
|
}
|
|
}) : t._e(), t._v(" "), "email" == t.type ? n("input", {
|
|
directives: [ {
|
|
name: "model",
|
|
rawName: "v-model",
|
|
value: t.currentValue,
|
|
expression: "currentValue"
|
|
} ],
|
|
attrs: {
|
|
type: "email",
|
|
name: t.name,
|
|
maxlength: t.max,
|
|
placeholder: t.placeholder,
|
|
autocomplete: t.autocomplete,
|
|
readonly: t.readonly,
|
|
disabled: t.disabled
|
|
},
|
|
domProps: {
|
|
value: t.currentValue
|
|
},
|
|
on: {
|
|
focus: function(e) {
|
|
t.showClear = !0;
|
|
},
|
|
blur: t.blurHandler,
|
|
input: function(e) {
|
|
e.target.composing || (t.currentValue = e.target.value);
|
|
}
|
|
}
|
|
}) : t._e(), t._v(" "), "tel" == t.type ? n("input", {
|
|
directives: [ {
|
|
name: "model",
|
|
rawName: "v-model",
|
|
value: t.currentValue,
|
|
expression: "currentValue"
|
|
} ],
|
|
attrs: {
|
|
type: "tel",
|
|
name: t.name,
|
|
maxlength: t.max,
|
|
placeholder: t.placeholder,
|
|
autocomplete: t.autocomplete,
|
|
readonly: t.readonly,
|
|
disabled: t.disabled
|
|
},
|
|
domProps: {
|
|
value: t.currentValue
|
|
},
|
|
on: {
|
|
focus: function(e) {
|
|
t.showClear = !0;
|
|
},
|
|
blur: t.blurHandler,
|
|
input: function(e) {
|
|
e.target.composing || (t.currentValue = e.target.value);
|
|
}
|
|
}
|
|
}) : t._e(), t._v(" "), "datetime-local" == t.type ? n("input", {
|
|
directives: [ {
|
|
name: "model",
|
|
rawName: "v-model",
|
|
value: t.currentValue,
|
|
expression: "currentValue"
|
|
} ],
|
|
attrs: {
|
|
type: "datetime-local",
|
|
name: t.name,
|
|
maxlength: t.max,
|
|
placeholder: t.placeholder,
|
|
autocomplete: t.autocomplete,
|
|
readonly: t.readonly,
|
|
disabled: t.disabled
|
|
},
|
|
domProps: {
|
|
value: t.currentValue
|
|
},
|
|
on: {
|
|
focus: function(e) {
|
|
t.showClear = !0;
|
|
},
|
|
blur: t.blurHandler,
|
|
input: function(e) {
|
|
e.target.composing || (t.currentValue = e.target.value);
|
|
}
|
|
}
|
|
}) : t._e(), t._v(" "), "date" == t.type ? n("input", {
|
|
directives: [ {
|
|
name: "model",
|
|
rawName: "v-model",
|
|
value: t.currentValue,
|
|
expression: "currentValue"
|
|
} ],
|
|
attrs: {
|
|
type: "date",
|
|
name: t.name,
|
|
maxlength: t.max,
|
|
placeholder: t.placeholder,
|
|
autocomplete: t.autocomplete,
|
|
readonly: t.readonly,
|
|
disabled: t.disabled
|
|
},
|
|
domProps: {
|
|
value: t.currentValue
|
|
},
|
|
on: {
|
|
focus: function(e) {
|
|
t.showClear = !0;
|
|
},
|
|
blur: t.blurHandler,
|
|
input: function(e) {
|
|
e.target.composing || (t.currentValue = e.target.value);
|
|
}
|
|
}
|
|
}) : t._e(), t._v(" "), "time" == t.type ? n("input", {
|
|
directives: [ {
|
|
name: "model",
|
|
rawName: "v-model",
|
|
value: t.currentValue,
|
|
expression: "currentValue"
|
|
} ],
|
|
attrs: {
|
|
type: "time",
|
|
name: t.name,
|
|
maxlength: t.max,
|
|
placeholder: t.placeholder,
|
|
autocomplete: t.autocomplete,
|
|
readonly: t.readonly,
|
|
disabled: t.disabled
|
|
},
|
|
domProps: {
|
|
value: t.currentValue
|
|
},
|
|
on: {
|
|
focus: function(e) {
|
|
t.showClear = !0;
|
|
},
|
|
blur: t.blurHandler,
|
|
input: function(e) {
|
|
e.target.composing || (t.currentValue = e.target.value);
|
|
}
|
|
}
|
|
}) : t._e() ], t._v(" "), n("a", {
|
|
directives: [ {
|
|
name: "show",
|
|
rawName: "v-show",
|
|
value: t.showClearIcon && t.showClear && !t.isempty,
|
|
expression: "showClearIcon && showClear && !isempty"
|
|
} ],
|
|
staticClass: "yd-input-clear",
|
|
attrs: {
|
|
href: "javascript:;",
|
|
tabindex: "-1"
|
|
},
|
|
on: {
|
|
click: t.clearInput
|
|
}
|
|
}), t._v(" "), t.showErrorIcon ? n("span", {
|
|
directives: [ {
|
|
name: "show",
|
|
rawName: "v-show",
|
|
value: (!!t.regex || !!t.min || !!t.max || t.required) && t.iserror && t.initError,
|
|
expression: "(!!regex || !!min || !!max || required) && iserror && initError"
|
|
} ],
|
|
staticClass: "yd-input-error"
|
|
}) : t._e(), t._v(" "), t.showRequiredIcon && t.showErrorIcon ? n("span", {
|
|
directives: [ {
|
|
name: "show",
|
|
rawName: "v-show",
|
|
value: (t.required || !!t.min && t.min > 0) && t.isempty && t.showWarn,
|
|
expression: "(required || (!!min && min > 0)) && isempty && showWarn"
|
|
} ],
|
|
staticClass: "yd-input-warn"
|
|
}) : t._e(), t._v(" "), t.showSuccessIcon ? n("span", {
|
|
directives: [ {
|
|
name: "show",
|
|
rawName: "v-show",
|
|
value: (!!t.regex || !!t.min || !!t.max || t.required) && !t.iserror && "" != t.currentValue,
|
|
expression: "(!!regex || !!min || !!max || required) && !iserror && currentValue != ''"
|
|
} ],
|
|
staticClass: "yd-input-success"
|
|
}) : t._e(), t._v(" "), "password" == t.type ? n("a", {
|
|
staticClass: "yd-input-password",
|
|
"class": t.showPwd ? "yd-input-password-open" : "",
|
|
attrs: {
|
|
href: "javascript:;",
|
|
tabindex: "-1"
|
|
},
|
|
on: {
|
|
click: function(e) {
|
|
e.stopPropagation(), t.showPwd = !t.showPwd;
|
|
}
|
|
}
|
|
}) : t._e() ], 2);
|
|
},
|
|
staticRenderFns: []
|
|
};
|
|
}, function(t, e) {
|
|
t.exports = {
|
|
render: function() {
|
|
var t = this, e = t.$createElement, n = t._self._c || e;
|
|
return n("i", {
|
|
"class": t.classes,
|
|
style: t.styles
|
|
});
|
|
},
|
|
staticRenderFns: []
|
|
};
|
|
}, function(t, e) {
|
|
t.exports = {
|
|
render: function() {
|
|
var t = this, e = t.$createElement, n = t._self._c || e;
|
|
return n("div", {
|
|
staticClass: "yd-dialog-black-mask"
|
|
}, [ n("div", {
|
|
staticClass: "yd-confirm yd-alert"
|
|
}, [ n("div", {
|
|
staticClass: "yd-confirm-bd",
|
|
domProps: {
|
|
innerHTML: t._s(t.mes)
|
|
}
|
|
}), t._v(" "), n("div", {
|
|
staticClass: "yd-confirm-ft"
|
|
}, [ n("a", {
|
|
staticClass: "yd-confirm-btn primary",
|
|
attrs: {
|
|
href: "javascript:;"
|
|
},
|
|
on: {
|
|
click: function(e) {
|
|
e.stopPropagation(), t.closeAlert(e);
|
|
}
|
|
}
|
|
}, [ t._v("确定") ]) ]) ]) ]);
|
|
},
|
|
staticRenderFns: []
|
|
};
|
|
}, function(t, e) {
|
|
t.exports = {
|
|
render: function() {
|
|
var t = this, e = t.$createElement, n = t._self._c || e;
|
|
return n("span", [ n("i", {
|
|
staticClass: "yd-back-icon",
|
|
style: {
|
|
color: t.color
|
|
}
|
|
}), t._t("default") ], 2);
|
|
},
|
|
staticRenderFns: []
|
|
};
|
|
}, function(t, e) {
|
|
t.exports = {
|
|
render: function() {
|
|
var t = this, e = t.$createElement, n = t._self._c || e;
|
|
return n("div", {
|
|
staticClass: "yd-slider-item"
|
|
}, [ t._t("default") ], 2);
|
|
},
|
|
staticRenderFns: []
|
|
};
|
|
}, function(t, e) {
|
|
t.exports = {
|
|
render: function() {
|
|
var t = this, e = t.$createElement, n = t._self._c || e;
|
|
return n("li", [ n("em"), t._v(" "), t._t("default") ], 2);
|
|
},
|
|
staticRenderFns: []
|
|
};
|
|
}, function(t, e) {
|
|
t.exports = {
|
|
render: function() {
|
|
var t = this, e = t.$createElement, n = t._self._c || e;
|
|
return n("div", {
|
|
staticClass: "yd-dialog-white-mask"
|
|
}, [ n("div", {
|
|
staticClass: "yd-toast",
|
|
"class": "" == t.iconsClass ? "yd-toast-none-icon" : ""
|
|
}, [ t.iconsClass ? n("div", {
|
|
"class": t.iconsClass
|
|
}) : t._e(), t._v(" "), n("p", {
|
|
staticClass: "yd-toast-content",
|
|
domProps: {
|
|
innerHTML: t._s(t.mes)
|
|
}
|
|
}) ]) ]);
|
|
},
|
|
staticRenderFns: []
|
|
};
|
|
}, function(t, e) {
|
|
t.exports = {
|
|
render: function() {
|
|
var t = this, e = t.$createElement, n = t._self._c || e;
|
|
return n("div", {
|
|
staticClass: "yd-scrolltab-content-item"
|
|
}, [ n("strong", {
|
|
staticClass: "yd-scrolltab-content-title"
|
|
}, [ t._v(t._s(t.label)) ]), t._v(" "), t._t("default") ], 2);
|
|
},
|
|
staticRenderFns: []
|
|
};
|
|
}, function(t, e) {
|
|
t.exports = {
|
|
render: function() {
|
|
var t = this, e = t.$createElement, n = t._self._c || e;
|
|
return n("div", {
|
|
directives: [ {
|
|
name: "show",
|
|
rawName: "v-show",
|
|
value: t.show,
|
|
expression: "show"
|
|
} ],
|
|
on: {
|
|
click: function(e) {
|
|
e.stopPropagation(), t.backtop(e);
|
|
}
|
|
}
|
|
}, [ t.$slots.default ? t._t("default") : n("div", {
|
|
staticClass: "yd-backtop"
|
|
}) ], 2);
|
|
},
|
|
staticRenderFns: []
|
|
};
|
|
}, function(t, e) {
|
|
t.exports = {
|
|
render: function() {
|
|
var t = this, e = t.$createElement, n = t._self._c || e;
|
|
return n("div", {
|
|
staticClass: "yd-rollnotice-item"
|
|
}, [ t._t("default") ], 2);
|
|
},
|
|
staticRenderFns: []
|
|
};
|
|
}, function(t, e) {
|
|
t.exports = {
|
|
render: function() {
|
|
var t = this, e = t.$createElement, n = t._self._c || e;
|
|
return n("div", {
|
|
staticClass: "yd-tab"
|
|
}, [ n("ul", {
|
|
staticClass: "yd-tab-nav"
|
|
}, t._l(t.navList, function(e) {
|
|
return n("li", {
|
|
staticClass: "yd-tab-nav-item",
|
|
"class": e._uid == t.activeIndex ? "yd-tab-active" : "",
|
|
on: {
|
|
click: function(n) {
|
|
t.changeHandler(e._uid, e.label, e.tabkey);
|
|
}
|
|
}
|
|
}, [ n("a", {
|
|
attrs: {
|
|
href: "javascript:;"
|
|
}
|
|
}, [ t._v(t._s(e.label)) ]) ]);
|
|
})), t._v(" "), n("div", {
|
|
staticClass: "yd-tab-panel"
|
|
}, [ t._t("default") ], 2) ]);
|
|
},
|
|
staticRenderFns: []
|
|
};
|
|
}, function(t, e) {
|
|
t.exports = {
|
|
render: function() {
|
|
var t = this, e = t.$createElement, n = t._self._c || e;
|
|
return n("button", {
|
|
"class": t.classes,
|
|
style: {
|
|
backgroundColor: t.bgcolor,
|
|
color: t.color
|
|
},
|
|
attrs: {
|
|
disabled: t.disabled
|
|
}
|
|
}, [ t._t("default") ], 2);
|
|
},
|
|
staticRenderFns: []
|
|
};
|
|
}, function(t, e) {
|
|
t.exports = {
|
|
render: function() {
|
|
var t = this, e = t.$createElement, n = t._self._c || e;
|
|
return n("div", {
|
|
staticClass: "yd-scrolltab"
|
|
}, [ n("div", {
|
|
staticClass: "yd-scrolltab-nav"
|
|
}, t._l(t.navList, function(e) {
|
|
return n("a", {
|
|
staticClass: "yd-scrolltab-item",
|
|
"class": t.activeIndex == e._uid ? "yd-scrolltab-active" : "",
|
|
attrs: {
|
|
href: "javascript:;"
|
|
},
|
|
on: {
|
|
click: function(n) {
|
|
t.moveHandler(e._uid);
|
|
}
|
|
}
|
|
}, [ n("div", {
|
|
staticClass: "yd-scrolltab-icon"
|
|
}, [ n("i", {
|
|
"class": e.icon
|
|
}) ]), t._v(" "), n("div", {
|
|
staticClass: "yd-scrolltab-title"
|
|
}, [ t._v(t._s(e.label)) ]) ]);
|
|
})), t._v(" "), n("div", {
|
|
ref: "scrollView",
|
|
staticClass: "yd-scrolltab-content"
|
|
}, [ t._t("default") ], 2) ]);
|
|
},
|
|
staticRenderFns: []
|
|
};
|
|
}, function(t, e) {
|
|
t.exports = {
|
|
render: function() {
|
|
var t = this, e = t.$createElement, n = t._self._c || e;
|
|
return n("div", [ t._t("default") ], 2);
|
|
},
|
|
staticRenderFns: []
|
|
};
|
|
}, function(t, e) {
|
|
t.exports = {
|
|
render: function() {
|
|
var t = this, e = t.$createElement, n = t._self._c || e;
|
|
return n("span", {
|
|
staticClass: "yd-badge",
|
|
"class": t.typesClass,
|
|
style: {
|
|
backgroundColor: t.bgcolor,
|
|
color: t.color
|
|
}
|
|
}, [ t._t("default") ], 2);
|
|
},
|
|
staticRenderFns: []
|
|
};
|
|
}, function(t, e) {
|
|
t.exports = {
|
|
render: function() {
|
|
var t = this, e = t.$createElement, n = t._self._c || e;
|
|
return n("img", {
|
|
attrs: {
|
|
src: t.src,
|
|
original: t.original
|
|
}
|
|
});
|
|
},
|
|
staticRenderFns: []
|
|
};
|
|
}, function(t, e) {
|
|
t.exports = {
|
|
render: function() {
|
|
var t = this, e = t.$createElement, n = t._self._c || e;
|
|
return n("span", [ t._t("default"), n("i", {
|
|
staticClass: "yd-next-icon",
|
|
style: {
|
|
color: t.color
|
|
}
|
|
}) ], 2);
|
|
},
|
|
staticRenderFns: []
|
|
};
|
|
}, function(t, e) {
|
|
t.exports = {
|
|
render: function() {
|
|
var t = this, e = t.$createElement, n = t._self._c || e;
|
|
return "link" == t.type ? n("router-link", {
|
|
staticClass: "yd-list-item",
|
|
attrs: {
|
|
to: t.href
|
|
}
|
|
}, [ n("div", {
|
|
staticClass: "yd-list-img"
|
|
}, [ t._t("img") ], 2), t._v(" "), n("div", {
|
|
staticClass: "yd-list-mes"
|
|
}, [ n("div", {
|
|
staticClass: "yd-list-title"
|
|
}, [ t._t("title") ], 2), t._v(" "), t._t("other") ], 2) ]) : "a" == t.type ? n("a", {
|
|
staticClass: "yd-list-item",
|
|
attrs: {
|
|
href: t.href || "javascript:;"
|
|
}
|
|
}, [ n("div", {
|
|
staticClass: "yd-list-img"
|
|
}, [ t._t("img") ], 2), t._v(" "), n("div", {
|
|
staticClass: "yd-list-mes"
|
|
}, [ n("div", {
|
|
staticClass: "yd-list-title"
|
|
}, [ t._t("title") ], 2), t._v(" "), t._t("other") ], 2) ]) : n("div", {
|
|
staticClass: "yd-list-item"
|
|
}, [ n("div", {
|
|
staticClass: "yd-list-img"
|
|
}, [ t._t("img") ], 2), t._v(" "), n("div", {
|
|
staticClass: "yd-list-mes"
|
|
}, [ n("div", {
|
|
staticClass: "yd-list-title"
|
|
}, [ t._t("title") ], 2), t._v(" "), t._t("other") ], 2) ]);
|
|
},
|
|
staticRenderFns: []
|
|
};
|
|
}, function(t, e) {
|
|
t.exports = {
|
|
render: function() {
|
|
var t = this, e = t.$createElement, n = t._self._c || e;
|
|
return n("article", {
|
|
staticClass: "yd-list",
|
|
"class": t.classes
|
|
}, [ t._t("default") ], 2);
|
|
},
|
|
staticRenderFns: []
|
|
};
|
|
}, function(t, e) {
|
|
t.exports = {
|
|
render: function() {
|
|
var t = this, e = t.$createElement, n = t._self._c || e;
|
|
return n("div", {
|
|
staticClass: "yd-accordion"
|
|
}, [ t._t("default") ], 2);
|
|
},
|
|
staticRenderFns: []
|
|
};
|
|
}, function(t, e) {
|
|
t.exports = {
|
|
render: function() {
|
|
var t = this, e = t.$createElement, n = t._self._c || e;
|
|
return n("footer", {
|
|
staticClass: "yd-tabbar tabbbar-top-line-color",
|
|
"class": t.classes,
|
|
style: t.styles
|
|
}, [ t._t("default") ], 2);
|
|
},
|
|
staticRenderFns: []
|
|
};
|
|
}, function(t, e) {
|
|
t.exports = {
|
|
render: function() {
|
|
var t = this, e = t.$createElement, n = t._self._c || e;
|
|
return n("div", {
|
|
staticClass: "yd-flexbox",
|
|
"class": "vertical" == t.direction ? "yd-flexbox-vertical" : "yd-flexbox-horizontal"
|
|
}, [ t._t("default") ], 2);
|
|
},
|
|
staticRenderFns: []
|
|
};
|
|
}, function(t, e) {
|
|
t.exports = {
|
|
render: function() {
|
|
var t = this, e = t.$createElement, n = t._self._c || e;
|
|
return n("div", {
|
|
staticClass: "yd-timeline"
|
|
}, [ n("ul", {
|
|
staticClass: "yd-timeline-content"
|
|
}, [ t._t("default") ], 2) ]);
|
|
},
|
|
staticRenderFns: []
|
|
};
|
|
}, function(t, e) {
|
|
t.exports = {
|
|
render: function() {
|
|
var t = this, e = t.$createElement, n = t._self._c || e;
|
|
return n("div", {
|
|
ref: "slider",
|
|
staticClass: "yd-slider"
|
|
}, [ n("div", {
|
|
ref: "warpper",
|
|
staticClass: "yd-slider-wrapper",
|
|
"class": "vertical" == t.direction ? "yd-slider-wrapper-vertical" : "",
|
|
style: t.dragStyleObject
|
|
}, [ n("div", {
|
|
staticClass: "yd-slider-item",
|
|
style: t.itemHeight,
|
|
domProps: {
|
|
innerHTML: t._s(t.lastItem)
|
|
}
|
|
}), t._v(" "), t._t("default"), t._v(" "), n("div", {
|
|
staticClass: "yd-slider-item",
|
|
style: t.itemHeight,
|
|
domProps: {
|
|
innerHTML: t._s(t.firtstItem)
|
|
}
|
|
}) ], 2), t._v(" "), t.itemsArr.length > 1 && t.showPagination ? n("div", {
|
|
staticClass: "yd-slider-pagination",
|
|
"class": "vertical" == t.direction ? "yd-slider-pagination-vertical" : ""
|
|
}, t._l(t.itemNums, function(e, i) {
|
|
return n("span", {
|
|
staticClass: "yd-slider-pagination-item",
|
|
"class": t.paginationIndex == i ? "yd-slider-pagination-item-active" : ""
|
|
});
|
|
})) : t._e() ]);
|
|
},
|
|
staticRenderFns: []
|
|
};
|
|
}, function(t, e) {
|
|
t.exports = {
|
|
render: function() {
|
|
var t = this, e = t.$createElement, n = t._self._c || e;
|
|
return n("div", {
|
|
staticClass: "yd-rollnotice",
|
|
style: {
|
|
height: t.height + "px"
|
|
}
|
|
}, [ n("div", {
|
|
staticClass: "yd-rollnotice-box",
|
|
"class": "yd-rollnotice-align-" + t.align,
|
|
style: t.styles
|
|
}, [ n("div", {
|
|
staticClass: "yd-rollnotice-item",
|
|
domProps: {
|
|
innerHTML: t._s(t.lastItem)
|
|
}
|
|
}), t._v(" "), t._t("default"), t._v(" "), n("div", {
|
|
staticClass: "yd-rollnotice-item",
|
|
domProps: {
|
|
innerHTML: t._s(t.firtstItem)
|
|
}
|
|
}) ], 2) ]);
|
|
},
|
|
staticRenderFns: []
|
|
};
|
|
}, function(t, e) {
|
|
t.exports = {
|
|
render: function() {
|
|
var t = this, e = t.$createElement, n = t._self._c || e;
|
|
return "label" == t.type || "checkbox" == t.type || "radio" == t.type ? n("label", {
|
|
staticClass: "yd-cell-item"
|
|
}, [ t.checkLeft ? n("span", {
|
|
staticClass: "yd-cell-left"
|
|
}, [ n("span", {
|
|
staticClass: "yd-cell-icon"
|
|
}, [ t._t("icon") ], 2), t._v(" "), t._t("left") ], 2) : t._e(), t._v(" "), n("label", {
|
|
staticClass: "yd-cell-right",
|
|
"class": t.classes
|
|
}, [ t._t("right"), t._v(" "), "checkbox" == t.type ? n("i", {
|
|
staticClass: "yd-cell-checkbox-icon"
|
|
}) : t._e(), t._v(" "), "radio" == t.type ? n("i", {
|
|
staticClass: "yd-cell-radio-icon"
|
|
}) : t._e() ], 2) ]) : "link" == t.type ? n("router-link", {
|
|
staticClass: "yd-cell-item",
|
|
attrs: {
|
|
to: t.href
|
|
}
|
|
}, [ t.checkLeft ? n("div", {
|
|
staticClass: "yd-cell-left"
|
|
}, [ n("span", {
|
|
staticClass: "yd-cell-icon"
|
|
}, [ t._t("icon") ], 2), t._v(" "), t._t("left") ], 2) : t._e(), t._v(" "), n("div", {
|
|
staticClass: "yd-cell-right",
|
|
"class": t.classes
|
|
}, [ t._t("right") ], 2) ]) : "a" == t.type ? n("a", {
|
|
staticClass: "yd-cell-item",
|
|
attrs: {
|
|
href: t.href
|
|
}
|
|
}, [ t.checkLeft ? n("div", {
|
|
staticClass: "yd-cell-left"
|
|
}, [ n("span", {
|
|
staticClass: "yd-cell-icon"
|
|
}, [ t._t("icon") ], 2), t._v(" "), t._t("left") ], 2) : t._e(), t._v(" "), n("div", {
|
|
staticClass: "yd-cell-right",
|
|
"class": t.classes
|
|
}, [ t._t("right") ], 2) ]) : n("div", {
|
|
staticClass: "yd-cell-item"
|
|
}, [ t.checkLeft ? n("div", {
|
|
staticClass: "yd-cell-left"
|
|
}, [ n("span", {
|
|
staticClass: "yd-cell-icon"
|
|
}, [ t._t("icon") ], 2), t._v(" "), t._t("left") ], 2) : t._e(), t._v(" "), n("div", {
|
|
staticClass: "yd-cell-right",
|
|
"class": t.classes
|
|
}, [ t._t("right") ], 2) ]);
|
|
},
|
|
staticRenderFns: []
|
|
};
|
|
}, function(t, e) {
|
|
t.exports = {
|
|
render: function() {
|
|
var t = this, e = t.$createElement, n = t._self._c || e;
|
|
return n("div", {
|
|
staticClass: "yd-button"
|
|
}, [ t._t("default") ], 2);
|
|
},
|
|
staticRenderFns: []
|
|
};
|
|
}, function(t, e) {
|
|
t.exports = {
|
|
render: function() {
|
|
var t = this, e = t.$createElement, n = t._self._c || e;
|
|
return n("span");
|
|
},
|
|
staticRenderFns: []
|
|
};
|
|
}, function(t, e) {
|
|
t.exports = {
|
|
render: function() {
|
|
var t = this, e = t.$createElement, n = t._self._c || e;
|
|
return n("div", [ n("div", {
|
|
staticClass: "yd-lightbox"
|
|
}, [ n("div", {
|
|
staticClass: "yd-lightbox-head",
|
|
"class": t.show ? "" : "yd-lightbox-up-hide"
|
|
}, [ n("span", [ t._v(t._s(t.currentIndex) + " / " + t._s(t.imgItems.length)) ]), t._v(" "), n("a", {
|
|
attrs: {
|
|
href: "javascript:;"
|
|
},
|
|
on: {
|
|
click: t.close
|
|
}
|
|
}, [ t._v("关闭") ]) ]), t._v(" "), n("div", {
|
|
staticClass: "yd-lightbox-img",
|
|
on: {
|
|
click: function(e) {
|
|
t.show = !t.show;
|
|
}
|
|
}
|
|
}, [ n("slider", {
|
|
attrs: {
|
|
autoplay: "0",
|
|
showPagination: !1,
|
|
callback: t.changeIndex,
|
|
index: t.index
|
|
}
|
|
}, t._l(t.imgItems, function(e) {
|
|
return n("slider-item", [ n("img", {
|
|
attrs: {
|
|
src: t.getImgSrc(e.$el)
|
|
}
|
|
}) ]);
|
|
})), t._v(" "), n("div", {
|
|
staticClass: "yd-lightbox-loading"
|
|
}, [ n("svg", {
|
|
attrs: {
|
|
width: "100%",
|
|
height: "100%",
|
|
xmlns: "http://www.w3.org/2000/svg",
|
|
viewBox: "0 0 100 100",
|
|
preserveAspectRatio: "xMidYMid"
|
|
}
|
|
}, [ n("circle", {
|
|
attrs: {
|
|
cx: "50",
|
|
cy: "50",
|
|
fill: "none",
|
|
stroke: "#ffffff",
|
|
"stroke-width": "7",
|
|
r: "47",
|
|
"stroke-dasharray": "221.48228207808043 75.82742735936014",
|
|
transform: "rotate(25.5138 50 50)"
|
|
}
|
|
}, [ n("animateTransform", {
|
|
attrs: {
|
|
attributeName: "transform",
|
|
type: "rotate",
|
|
calcMode: "linear",
|
|
values: "0 50 50;360 50 50",
|
|
keyTimes: "0;1",
|
|
dur: "0.8s",
|
|
begin: "0s",
|
|
repeatCount: "indefinite"
|
|
}
|
|
}) ], 1) ]) ]) ], 1), t._v(" "), t.txtHTML ? n("div", {
|
|
staticClass: "yd-lightbox-foot",
|
|
"class": t.show ? "" : "yd-lightbox-down-hide",
|
|
domProps: {
|
|
innerHTML: t._s(t.txtHTML)
|
|
}
|
|
}) : t._e() ]) ]);
|
|
},
|
|
staticRenderFns: []
|
|
};
|
|
}, function(t, e) {
|
|
t.exports = {
|
|
render: function() {
|
|
var t = this, e = t.$createElement, n = t._self._c || e;
|
|
return n("div", {
|
|
staticClass: "yd-list-other"
|
|
}, [ t._t("default") ], 2);
|
|
},
|
|
staticRenderFns: []
|
|
};
|
|
}, function(t, e) {
|
|
t.exports = {
|
|
render: function() {
|
|
_t = this;
|
|
var t = this, e = t.$createElement, n = t._self._c || e;
|
|
return n("div", [ n("div", {
|
|
directives: [ {
|
|
name: "show",
|
|
rawName: "v-show",
|
|
value: t.show,
|
|
expression: "show"
|
|
} ],
|
|
ref: "mask",
|
|
staticClass: "yd-cityselect-mask",
|
|
on: {
|
|
click: function(e) {
|
|
e.stopPropagation(), t.close(e);
|
|
}
|
|
}
|
|
}), t._v(" "), n("div", {
|
|
staticClass: "yd-cityselect",
|
|
"class": t.show ? "yd-cityselect-active" : ""
|
|
}, [ n("div", {
|
|
staticClass: "yd-cityselect-header"
|
|
}, [ n("p", {
|
|
staticClass: "yd-cityselect-title",
|
|
on: {
|
|
touchstart: function(t) {
|
|
t.preventDefault();
|
|
}
|
|
}
|
|
}, [ t._v(t._s(t.title)) ,n('span',{
|
|
on:{
|
|
touchstart:function(e){
|
|
e.stopPropagation();
|
|
t.returnValue();
|
|
}
|
|
|
|
},
|
|
domProps:{
|
|
innerHTML:'确定'
|
|
}
|
|
})]), t._v(" "), n("div", {
|
|
directives: [ {
|
|
name: "show",
|
|
rawName: "v-show",
|
|
value: t.ready,
|
|
expression: "ready"
|
|
} ],
|
|
staticClass: "yd-cityselect-nav"
|
|
}, t._l(t.columnNum, function(e) {
|
|
return n("a", {
|
|
directives: [ {
|
|
name: "show",
|
|
rawName: "v-show",
|
|
value: !!t.nav["txt" + e],
|
|
expression: "!!nav['txt' + index]"
|
|
} ],
|
|
"class": e == t.navIndex ? "yd-cityselect-nav-active" : "",
|
|
attrs: {
|
|
href: "javascript:;"
|
|
},
|
|
on: {
|
|
click: function(n) {
|
|
n.stopPropagation(), t.navEvent(e);
|
|
}
|
|
}
|
|
}, [ t._v(t._s(t.nav["txt" + e])) ]);
|
|
})) ]), t._v(" "), t.ready ? t._e() : n("div", {
|
|
staticClass: "yd-cityselect-loading"
|
|
}, [ n("svg", {
|
|
attrs: {
|
|
xmlns: "http://www.w3.org/2000/svg",
|
|
viewBox: "0 0 100 100",
|
|
preserveAspectRatio: "xMidYMid"
|
|
}
|
|
}, [ n("path", {
|
|
attrs: {
|
|
stroke: "none",
|
|
d: "M3 50A47 47 0 0 0 97 50A47 49 0 0 1 3 50",
|
|
fill: "#bababa",
|
|
transform: "rotate(317.143 50 51)"
|
|
}
|
|
}, [ n("animateTransform", {
|
|
attrs: {
|
|
attributeName: "transform",
|
|
type: "rotate",
|
|
calcMode: "linear",
|
|
values: "0 50 51;360 50 51",
|
|
keyTimes: "0;1",
|
|
dur: "0.6s",
|
|
begin: "0s",
|
|
repeatCount: "indefinite"
|
|
}
|
|
}) ], 1) ]) ]), t._v(" "), n("ul", {
|
|
directives: [ {
|
|
name: "show",
|
|
rawName: "v-show",
|
|
value: t.ready,
|
|
expression: "ready"
|
|
} ],
|
|
staticClass: "yd-cityselect-content",
|
|
"class": t.activeClasses
|
|
}, t._l(t.columnNum, function(e) {
|
|
return n("li", {
|
|
ref: "itemBox" + e,
|
|
refInFor: !0,
|
|
staticClass: "yd-cityselect-item"
|
|
}, [ t.columns["columnItems" + e].length > 0 ? [ n("div", {
|
|
staticClass: "yd-cityselect-item-box"
|
|
}, t._l(t.columns["columnItems" + e], function(i) {
|
|
return n("a", {
|
|
"class": t.currentClass(i.v, i.n, e),
|
|
attrs: {
|
|
href: "javascript:;"
|
|
},
|
|
on: {
|
|
click: function(n) {
|
|
n.stopPropagation(), t.itemEvent(e, i.n, i.v, i.c);
|
|
}
|
|
}
|
|
}, [ n("span", [ t._v(t._s(i.n)) ]) ]);
|
|
})) ] : [ n("div", {
|
|
staticClass: "yd-cityselect-item-box",
|
|
on: {
|
|
touchstart: function(t) {
|
|
t.stopPropagation(), t.preventDefault();
|
|
}
|
|
}
|
|
}) ] ], 2);
|
|
})) ]) ]);
|
|
},
|
|
staticRenderFns: []
|
|
};
|
|
}, function(t, e) {
|
|
t.exports = {
|
|
render: function() {
|
|
var t = this, e = t.$createElement, n = t._self._c || e;
|
|
return n("div", [ n("div", {
|
|
directives: [ {
|
|
name: "show",
|
|
rawName: "v-show",
|
|
value: t.show,
|
|
expression: "show"
|
|
} ],
|
|
staticClass: "yd-datetime-mask",
|
|
on: {
|
|
click: function(e) {
|
|
e.stopPropagation(), t.close(e);
|
|
}
|
|
}
|
|
}), t._v(" "), n("div", {
|
|
staticClass: "yd-datetime",
|
|
"class": t.show ? "yd-datetime-active" : ""
|
|
}, [ n("div", {
|
|
staticClass: "yd-datetime-head"
|
|
}, [ n("a", {
|
|
attrs: {
|
|
href: "javascript:;"
|
|
},
|
|
on: {
|
|
click: function(e) {
|
|
e.stopPropagation(), t.close(e);
|
|
}
|
|
}
|
|
}, [ t._v("取消") ]), t._v(" "), n("a", {
|
|
attrs: {
|
|
href: "javascript:;"
|
|
},
|
|
on: {
|
|
click: function(e) {
|
|
e.stopPropagation(), t.setValue(e);
|
|
}
|
|
}
|
|
}, [ t._v("确定") ]) ]), t._v(" "), n("div", {
|
|
staticClass: "yd-datetime-content"
|
|
}, [ t._l(t.columns, function(e) {
|
|
return n("div", {
|
|
staticClass: "yd-datetime-item"
|
|
}, [ n("div", {
|
|
ref: "Component_" + e,
|
|
refInFor: !0,
|
|
staticClass: "yd-datetime-item-box"
|
|
}, [ n("div", {
|
|
ref: "Content_" + e,
|
|
refInFor: !0,
|
|
staticClass: "yd-datetime-item-content"
|
|
}, t._l(t.items[e], function(e) {
|
|
return n("span", {
|
|
attrs: {
|
|
"data-value": e.value
|
|
},
|
|
domProps: {
|
|
innerHTML: t._s(e.name)
|
|
}
|
|
});
|
|
})) ]) ]);
|
|
}), t._v(" "), n("div", {
|
|
staticClass: "yd-datetime-shade"
|
|
}), t._v(" "), t._m(0) ], 2) ]) ]);
|
|
},
|
|
staticRenderFns: [ function() {
|
|
var t = this, e = t.$createElement, n = t._self._c || e;
|
|
return n("div", {
|
|
staticClass: "yd-datetime-indicator"
|
|
}, [ n("span") ]);
|
|
} ]
|
|
};
|
|
}, function(t, e) {
|
|
t.exports = {
|
|
render: function() {
|
|
var t = this, e = t.$createElement, n = t._self._c || e;
|
|
return n("span", [ n("span", {
|
|
domProps: {
|
|
innerHTML: t._s(t.str)
|
|
}
|
|
}), t._v(" "), t.showTpl ? n("span", {
|
|
ref: "tpl"
|
|
}, [ t._t("default") ], 2) : t._e() ]);
|
|
},
|
|
staticRenderFns: []
|
|
};
|
|
}, function(t, e) {
|
|
t.exports = {
|
|
render: function() {
|
|
var t = this, e = t.$createElement, n = t._self._c || e;
|
|
return n("input", {
|
|
directives: [ {
|
|
name: "model",
|
|
rawName: "v-model",
|
|
value: t.checked,
|
|
expression: "checked"
|
|
} ],
|
|
staticClass: "yd-switch",
|
|
style: {
|
|
color: t.color
|
|
},
|
|
attrs: {
|
|
type: "checkbox",
|
|
disabled: t.disabled
|
|
},
|
|
domProps: {
|
|
checked: Array.isArray(t.checked) ? t._i(t.checked, null) > -1 : t.checked
|
|
},
|
|
on: {
|
|
__c: function(e) {
|
|
var n = t.checked, i = e.target, r = !!i.checked;
|
|
if (Array.isArray(n)) {
|
|
var s = null, o = t._i(n, s);
|
|
i.checked ? o < 0 && (t.checked = n.concat(s)) : o > -1 && (t.checked = n.slice(0, o).concat(n.slice(o + 1)));
|
|
} else t.checked = r;
|
|
}
|
|
}
|
|
});
|
|
},
|
|
staticRenderFns: []
|
|
};
|
|
}, function(t, e) {
|
|
t.exports = {
|
|
render: function() {
|
|
var t = this, e = t.$createElement, n = t._self._c || e;
|
|
return n("div", [ t._t("list"), t._v(" "), n("div", {
|
|
ref: "tag",
|
|
staticStyle: {
|
|
height: "1px"
|
|
}
|
|
}), t._v(" "), t.isDone ? t._e() : n("div", {
|
|
staticClass: "yd-list-loading"
|
|
}, [ n("div", {
|
|
directives: [ {
|
|
name: "show",
|
|
rawName: "v-show",
|
|
value: t.isLoading,
|
|
expression: "isLoading"
|
|
} ]
|
|
}, [ t._t("loadingTip", [ n("loading") ]) ], 2) ]), t._v(" "), n("div", {
|
|
directives: [ {
|
|
name: "show",
|
|
rawName: "v-show",
|
|
value: !t.isLoading && t.isDone,
|
|
expression: "!isLoading && isDone"
|
|
} ],
|
|
staticClass: "yd-list-donetip"
|
|
}, [ t._t("doneTip", [ t._v("没有更多数据了") ]) ], 2) ], 2);
|
|
},
|
|
staticRenderFns: []
|
|
};
|
|
}, function(t, e) {
|
|
t.exports = {
|
|
render: function() {
|
|
var t = this, e = t.$createElement, n = t._self._c || e;
|
|
return n("span", {
|
|
staticClass: "yd-spinner",
|
|
style: {
|
|
height: t.height,
|
|
width: t.width
|
|
}
|
|
}, [ n("a", {
|
|
ref: "minus",
|
|
attrs: {
|
|
href: "javascript:;"
|
|
}
|
|
}), t._v(" "), n("input", {
|
|
directives: [ {
|
|
name: "model",
|
|
rawName: "v-model",
|
|
value: t.counter,
|
|
expression: "counter"
|
|
} ],
|
|
ref: "numInput",
|
|
staticClass: "yd-spinner-input",
|
|
attrs: {
|
|
type: "number",
|
|
pattern: "[0-9]*",
|
|
readonly: t.readonly,
|
|
placeholder: ""
|
|
},
|
|
domProps: {
|
|
value: t.counter
|
|
},
|
|
on: {
|
|
input: function(e) {
|
|
e.target.composing || (t.counter = e.target.value);
|
|
}
|
|
}
|
|
}), t._v(" "), n("a", {
|
|
ref: "add",
|
|
attrs: {
|
|
href: "javascript:;"
|
|
}
|
|
}) ]);
|
|
},
|
|
staticRenderFns: []
|
|
};
|
|
}, function(t, e) {
|
|
t.exports = {
|
|
render: function() {
|
|
var t = this, e = t.$createElement, n = t._self._c || e;
|
|
return n("div", {
|
|
staticClass: "yd-progressbar"
|
|
}, [ "line" != t.type ? n("div", {
|
|
staticClass: "yd-progressbar-content"
|
|
}, [ t._t("default") ], 2) : t._e(), t._v(" "), n("svg", {
|
|
directives: [ {
|
|
name: "show",
|
|
rawName: "v-show",
|
|
value: t.show,
|
|
expression: "show"
|
|
} ],
|
|
attrs: {
|
|
viewBox: t.viewBox,
|
|
preserveAspectRatio: "line" == t.type ? "none" : ""
|
|
}
|
|
}, [ n("path", {
|
|
attrs: {
|
|
"fill-opacity": t.fillColor ? 1 : 0,
|
|
d: t.getPathString,
|
|
fill: t.fillColor,
|
|
stroke: t.strokeColor,
|
|
"stroke-width": t.trailWidth
|
|
}
|
|
}), t._v(" "), n("path", {
|
|
ref: "trailPath",
|
|
style: {
|
|
strokeDasharray: t.stroke.dasharray,
|
|
strokeDashoffset: t.stroke.dashoffset
|
|
},
|
|
attrs: {
|
|
"fill-opacity": "0",
|
|
d: t.getPathString,
|
|
stroke: t.trailColor,
|
|
"stroke-width": t.strokeWidth ? t.strokeWidth : t.trailWidth
|
|
}
|
|
}) ]) ]);
|
|
},
|
|
staticRenderFns: []
|
|
};
|
|
}, function(t, e) {
|
|
t.exports = {
|
|
render: function() {
|
|
var t = this, e = t.$createElement, n = t._self._c || e;
|
|
return n("div", {
|
|
staticClass: "yd-checklist-item",
|
|
on: {
|
|
click: t.emitChangeHandler
|
|
}
|
|
}, [ t.label ? n("div", {
|
|
staticClass: "yd-checklist-item-icon"
|
|
}, [ n("input", {
|
|
attrs: {
|
|
type: "checkbox",
|
|
disabled: t.disabled
|
|
},
|
|
domProps: {
|
|
checked: t.checked
|
|
}
|
|
}), t._v(" "), t._m(0) ]) : n("label", {
|
|
staticClass: "yd-checklist-item-icon"
|
|
}, [ n("input", {
|
|
attrs: {
|
|
type: "checkbox",
|
|
disabled: t.disabled
|
|
},
|
|
domProps: {
|
|
checked: t.checked
|
|
},
|
|
on: {
|
|
change: t.changeHandler
|
|
}
|
|
}), t._v(" "), t._m(1) ]), t._v(" "), n("div", {
|
|
staticClass: "yd-checklist-content"
|
|
}, [ t._t("default") ], 2) ]);
|
|
},
|
|
staticRenderFns: [ function() {
|
|
var t = this, e = t.$createElement, n = t._self._c || e;
|
|
return n("span", {
|
|
staticClass: "yd-checklist-icon"
|
|
}, [ n("i") ]);
|
|
}, function() {
|
|
var t = this, e = t.$createElement, n = t._self._c || e;
|
|
return n("span", {
|
|
staticClass: "yd-checklist-icon"
|
|
}, [ n("i") ]);
|
|
} ]
|
|
};
|
|
}, function(t, e) {
|
|
t.exports = {
|
|
render: function() {
|
|
var t = this, e = t.$createElement, n = t._self._c || e;
|
|
return n("header", {
|
|
staticClass: "yd-navbar navbar-bottom-line-color",
|
|
"class": t.classes,
|
|
style: {
|
|
backgroundColor: t.bgcolor,
|
|
height: t.height
|
|
}
|
|
}, [ n("div", {
|
|
staticClass: "yd-navbar-item"
|
|
}, [ t._t("left") ], 2), t._v(" "), n("div", {
|
|
staticClass: "yd-navbar-center-box",
|
|
style: {
|
|
height: t.height
|
|
}
|
|
}, [ n("div", {
|
|
staticClass: "yd-navbar-center"
|
|
}, [ t._t("center", [ n("span", {
|
|
staticClass: "yd-navbar-center-title",
|
|
style: {
|
|
color: t.color,
|
|
fontSize: t.fontsize
|
|
}
|
|
}, [ t._v(t._s(t.title)) ]) ]) ], 2) ]), t._v(" "), n("div", {
|
|
staticClass: "yd-navbar-item"
|
|
}, [ t._t("right") ], 2) ]);
|
|
},
|
|
staticRenderFns: []
|
|
};
|
|
}, function(t, e) {
|
|
t.exports = {
|
|
render: function() {
|
|
var t = this, e = t.$createElement, n = t._self._c || e;
|
|
return n("label", {
|
|
staticClass: "yd-checkbox",
|
|
"class": "circle" == t.shape ? "yd-checkbox-circle" : ""
|
|
}, [ t.group ? [ n("input", {
|
|
directives: [ {
|
|
name: "model",
|
|
rawName: "v-model",
|
|
value: t.model,
|
|
expression: "model"
|
|
} ],
|
|
attrs: {
|
|
type: "checkbox",
|
|
disabled: t.disabled
|
|
},
|
|
domProps: {
|
|
value: t.val,
|
|
checked: Array.isArray(t.model) ? t._i(t.model, t.val) > -1 : t.model
|
|
},
|
|
on: {
|
|
change: t.changeHandler,
|
|
__c: function(e) {
|
|
var n = t.model, i = e.target, r = !!i.checked;
|
|
if (Array.isArray(n)) {
|
|
var s = t.val, o = t._i(n, s);
|
|
i.checked ? o < 0 && (t.model = n.concat(s)) : o > -1 && (t.model = n.slice(0, o).concat(n.slice(o + 1)));
|
|
} else t.model = r;
|
|
}
|
|
}
|
|
}) ] : [ n("input", {
|
|
directives: [ {
|
|
name: "model",
|
|
rawName: "v-model",
|
|
value: t.checked,
|
|
expression: "checked"
|
|
} ],
|
|
attrs: {
|
|
type: "checkbox",
|
|
disabled: t.disabled
|
|
},
|
|
domProps: {
|
|
checked: Array.isArray(t.checked) ? t._i(t.checked, null) > -1 : t.checked
|
|
},
|
|
on: {
|
|
__c: function(e) {
|
|
var n = t.checked, i = e.target, r = !!i.checked;
|
|
if (Array.isArray(n)) {
|
|
var s = null, o = t._i(n, s);
|
|
i.checked ? o < 0 && (t.checked = n.concat(s)) : o > -1 && (t.checked = n.slice(0, o).concat(n.slice(o + 1)));
|
|
} else t.checked = r;
|
|
}
|
|
}
|
|
}) ], t._v(" "), n("span", {
|
|
staticClass: "yd-checkbox-icon",
|
|
style: t.iconStyles()
|
|
}, [ n("i", {
|
|
style: t.checkIconStyles()
|
|
}) ]), t._v(" "), t.$slots.default ? [ n("span", {
|
|
staticClass: "yd-checkbox-text"
|
|
}, [ t._t("default") ], 2) ] : [ n("span", {
|
|
staticClass: "yd-checkbox-text"
|
|
}, [ t._v(t._s(t.val)) ]) ] ], 2);
|
|
},
|
|
staticRenderFns: []
|
|
};
|
|
}, function(t, e) {
|
|
t.exports = {
|
|
render: function() {
|
|
var t = this, e = t.$createElement, n = t._self._c || e;
|
|
return n("div", {
|
|
staticClass: "yd-dialog-black-mask"
|
|
}, [ n("div", {
|
|
staticClass: "yd-confirm"
|
|
}, [ n("div", {
|
|
staticClass: "yd-confirm-hd"
|
|
}, [ n("strong", {
|
|
staticClass: "yd-confirm-title",
|
|
domProps: {
|
|
innerHTML: t._s(t.title)
|
|
}
|
|
}) ]), t._v(" "), n("div", {
|
|
staticClass: "yd-confirm-bd",
|
|
domProps: {
|
|
innerHTML: t._s(t.mes)
|
|
}
|
|
}), t._v(" "), "function" == typeof t.opts ? [ n("div", {
|
|
staticClass: "yd-confirm-ft"
|
|
}, [ n("a", {
|
|
staticClass: "yd-confirm-btn default",
|
|
attrs: {
|
|
href: "javascript:;"
|
|
},
|
|
on: {
|
|
click: function(e) {
|
|
e.stopPropagation(), t.closeConfirm(!1);
|
|
}
|
|
}
|
|
}, [ t._v("取消") ]), t._v(" "), n("a", {
|
|
staticClass: "yd-confirm-btn primary",
|
|
attrs: {
|
|
href: "javascript:;"
|
|
},
|
|
on: {
|
|
click: function(e) {
|
|
e.stopPropagation(), t.closeConfirm(!1, t.opts);
|
|
}
|
|
}
|
|
}, [ t._v("确定") ]) ]) ] : [ n("div", {
|
|
staticClass: "yd-confirm-ft"
|
|
}, t._l(t.opts, function(e) {
|
|
return n("a", {
|
|
staticClass: "yd-confirm-btn",
|
|
"class": "boolean" == typeof e.color ? e.color ? "primary" : "default" : "",
|
|
style: {
|
|
color: e.color
|
|
},
|
|
attrs: {
|
|
href: "javascript:;"
|
|
},
|
|
on: {
|
|
click: function(n) {
|
|
n.stopPropagation(), t.closeConfirm(e.stay, e.callback);
|
|
}
|
|
}
|
|
}, [ t._v(t._s(e.txt)) ]);
|
|
})) ] ], 2) ]);
|
|
},
|
|
staticRenderFns: []
|
|
};
|
|
}, function(t, e) {
|
|
t.exports = {
|
|
render: function() {
|
|
var t = this, e = t.$createElement, n = t._self._c || e;
|
|
return n("div", {
|
|
staticClass: "yd-step",
|
|
"class": "yd-step-theme" + t.theme
|
|
}, [ n("ul", {
|
|
staticClass: "yd-step-content",
|
|
style: {
|
|
paddingBottom: t.hasBottom ? "42px" : "10px",
|
|
paddingTop: t.hasTop ? "42px" : "10px",
|
|
color: t.currentColor
|
|
}
|
|
}, [ t._t("default") ], 2) ]);
|
|
},
|
|
staticRenderFns: []
|
|
};
|
|
}, function(t, e) {
|
|
t.exports = {
|
|
render: function() {
|
|
var t = this, e = t.$createElement, n = t._self._c || e;
|
|
return n("div", {
|
|
staticClass: "yd-flexbox-item",
|
|
"class": t.classes
|
|
}, [ t._t("default") ], 2);
|
|
},
|
|
staticRenderFns: []
|
|
};
|
|
}, function(t, e) {
|
|
t.exports = {
|
|
render: function() {
|
|
var t = this, e = t.$createElement, n = t._self._c || e;
|
|
return n("div", [ n("div", {
|
|
staticClass: "yd-accordion-title",
|
|
on: {
|
|
click: t.toggle
|
|
}
|
|
}, [ t.$slots.title ? n("span", [ t._t("title") ], 2) : n("span", [ t._v(t._s(t.title)) ]), t._v(" "), n("i", {
|
|
"class": t.show ? "accordion-rotated" : ""
|
|
}) ]), t._v(" "), n("div", {
|
|
staticClass: "yd-accordion-content",
|
|
style: t.styleHeight
|
|
}, [ n("div", {
|
|
ref: "content"
|
|
}, [ t._t("default") ], 2) ]) ]);
|
|
},
|
|
staticRenderFns: []
|
|
};
|
|
}, function(t, e) {
|
|
t.exports = {
|
|
render: function() {
|
|
var t = this, e = t.$createElement, n = t._self._c || e;
|
|
return n("div", [ t.triggerClose ? n("div", {
|
|
directives: [ {
|
|
name: "show",
|
|
rawName: "v-show",
|
|
value: t.show,
|
|
expression: "show"
|
|
} ],
|
|
staticClass: "yd-keyboard-mask",
|
|
on: {
|
|
click: function(e) {
|
|
e.stopPropagation(), t.close(e);
|
|
}
|
|
}
|
|
}) : n("div", {
|
|
directives: [ {
|
|
name: "show",
|
|
rawName: "v-show",
|
|
value: t.show,
|
|
expression: "show"
|
|
} ],
|
|
staticClass: "yd-mask-keyboard"
|
|
}), t._v(" "), n("div", {
|
|
staticClass: "yd-keyboard",
|
|
"class": t.show ? "yd-keyboard-active" : ""
|
|
}, [ t._m(0), t._v(" "), n("div", {
|
|
staticClass: "yd-keyboard-error"
|
|
}, [ t._v(t._s(t.error)) ]), t._v(" "), n("ul", {
|
|
staticClass: "yd-keyboard-password"
|
|
}, t._l(6, function(e) {
|
|
return n("li", [ n("i", {
|
|
directives: [ {
|
|
name: "show",
|
|
rawName: "v-show",
|
|
value: t.nums.length >= e,
|
|
expression: "nums.length >= n"
|
|
} ]
|
|
}) ]);
|
|
})), t._v(" "), n("div", {
|
|
staticClass: "yd-keyboard-content"
|
|
}, [ n("div", {
|
|
staticClass: "yd-keyboard-title"
|
|
}, [ t._v(t._s(t.title)) ]), t._v(" "), n("ul", {
|
|
staticClass: "yd-keyboard-numbers"
|
|
}, t._l(4, function(e) {
|
|
return n("li", [ t.triggerClose ? [ 4 == e ? n("a", {
|
|
attrs: {
|
|
href: "javascript:;"
|
|
},
|
|
on: {
|
|
click: function(e) {
|
|
e.stopPropagation(), t.close(e);
|
|
}
|
|
}
|
|
}, [ t._v("取消") ]) : t._e() ] : [ 4 == e ? n("a", {
|
|
attrs: {
|
|
href: "javascript:;"
|
|
}
|
|
}) : t._e() ], t._v(" "), t.isMobile ? t._l(t.numsArr.slice(3 * (e - 1), 3 * e), function(e) {
|
|
return n("a", {
|
|
attrs: {
|
|
href: "javascript:;"
|
|
},
|
|
on: {
|
|
touchstart: function(n) {
|
|
n.stopPropagation(), t.numclick(e);
|
|
}
|
|
}
|
|
}, [ t._v(t._s(e)) ]);
|
|
}) : t._l(t.numsArr.slice(3 * (e - 1), 3 * e), function(e) {
|
|
return n("a", {
|
|
attrs: {
|
|
href: "javascript:;"
|
|
},
|
|
on: {
|
|
click: function(n) {
|
|
n.stopPropagation(), t.numclick(e);
|
|
}
|
|
}
|
|
}, [ t._v(t._s(e)) ]);
|
|
}), t._v(" "), 4 == e ? n("a", {
|
|
attrs: {
|
|
href: "javascript:;"
|
|
},
|
|
on: {
|
|
click: function(e) {
|
|
e.stopPropagation(), t.backspace(e);
|
|
}
|
|
}
|
|
}) : t._e() ], 2);
|
|
})) ]) ]) ]);
|
|
},
|
|
staticRenderFns: [ function() {
|
|
var t = this, e = t.$createElement, n = t._self._c || e;
|
|
return n("div", {
|
|
staticClass: "yd-keyboard-head"
|
|
}, [ n("strong", [ t._v("输入数字密码") ]) ]);
|
|
} ]
|
|
};
|
|
}, function(t, e) {
|
|
t.exports = {
|
|
render: function() {
|
|
var t = this, e = t.$createElement, n = t._self._c || e;
|
|
return n("div", {
|
|
staticClass: "yd-cell-box"
|
|
}, [ n("div", {
|
|
staticClass: "yd-cell"
|
|
}, [ t.title ? n("div", {
|
|
staticClass: "yd-cell-title"
|
|
}, [ t._v(t._s(t.title)) ]) : t._e(), t._v(" "), t._t("default") ], 2), t._v(" "), t._t("bottom") ], 2);
|
|
},
|
|
staticRenderFns: []
|
|
};
|
|
}, function(t, e) {
|
|
t.exports = {
|
|
render: function() {
|
|
var t = this, e = t.$createElement, n = t._self._c || e;
|
|
return n("svg", {
|
|
staticClass: "lds-ellipsis",
|
|
attrs: {
|
|
xmlns: "http://www.w3.org/2000/svg",
|
|
viewBox: "0 0 100 100",
|
|
preserveAspectRatio: "xMidYMid"
|
|
}
|
|
}, [ n("circle", {
|
|
attrs: {
|
|
cx: "84",
|
|
cy: "50",
|
|
r: "5.04711",
|
|
fill: "#f3b72e"
|
|
}
|
|
}, [ n("animate", {
|
|
attrs: {
|
|
attributeName: "r",
|
|
values: "10;0;0;0;0",
|
|
keyTimes: "0;0.25;0.5;0.75;1",
|
|
keySplines: "0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1",
|
|
calcMode: "spline",
|
|
dur: "1.7s",
|
|
repeatCount: "indefinite",
|
|
begin: "0s"
|
|
}
|
|
}), t._v(" "), n("animate", {
|
|
attrs: {
|
|
attributeName: "cx",
|
|
values: "84;84;84;84;84",
|
|
keyTimes: "0;0.25;0.5;0.75;1",
|
|
keySplines: "0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1",
|
|
calcMode: "spline",
|
|
dur: "1.7s",
|
|
repeatCount: "indefinite",
|
|
begin: "0s"
|
|
}
|
|
}) ]), t._v(" "), n("circle", {
|
|
attrs: {
|
|
cx: "66.8398",
|
|
cy: "50",
|
|
r: "10",
|
|
fill: "#E8574E"
|
|
}
|
|
}, [ n("animate", {
|
|
attrs: {
|
|
attributeName: "r",
|
|
values: "0;10;10;10;0",
|
|
keyTimes: "0;0.25;0.5;0.75;1",
|
|
keySplines: "0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1",
|
|
calcMode: "spline",
|
|
dur: "1.7s",
|
|
repeatCount: "indefinite",
|
|
begin: "-0.85s"
|
|
}
|
|
}), t._v(" "), n("animate", {
|
|
attrs: {
|
|
attributeName: "cx",
|
|
values: "16;16;50;84;84",
|
|
keyTimes: "0;0.25;0.5;0.75;1",
|
|
keySplines: "0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1",
|
|
calcMode: "spline",
|
|
dur: "1.7s",
|
|
repeatCount: "indefinite",
|
|
begin: "-0.85s"
|
|
}
|
|
}) ]), t._v(" "), n("circle", {
|
|
attrs: {
|
|
cx: "32.8398",
|
|
cy: "50",
|
|
r: "10",
|
|
fill: "#43A976"
|
|
}
|
|
}, [ n("animate", {
|
|
attrs: {
|
|
attributeName: "r",
|
|
values: "0;10;10;10;0",
|
|
keyTimes: "0;0.25;0.5;0.75;1",
|
|
keySplines: "0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1",
|
|
calcMode: "spline",
|
|
dur: "1.7s",
|
|
repeatCount: "indefinite",
|
|
begin: "-0.425s"
|
|
}
|
|
}), t._v(" "), n("animate", {
|
|
attrs: {
|
|
attributeName: "cx",
|
|
values: "16;16;50;84;84",
|
|
keyTimes: "0;0.25;0.5;0.75;1",
|
|
keySplines: "0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1",
|
|
calcMode: "spline",
|
|
dur: "1.7s",
|
|
repeatCount: "indefinite",
|
|
begin: "-0.425s"
|
|
}
|
|
}) ]), t._v(" "), n("circle", {
|
|
attrs: {
|
|
cx: "16",
|
|
cy: "50",
|
|
r: "4.95289",
|
|
fill: "#304153"
|
|
}
|
|
}, [ n("animate", {
|
|
attrs: {
|
|
attributeName: "r",
|
|
values: "0;10;10;10;0",
|
|
keyTimes: "0;0.25;0.5;0.75;1",
|
|
keySplines: "0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1",
|
|
calcMode: "spline",
|
|
dur: "1.7s",
|
|
repeatCount: "indefinite",
|
|
begin: "0s"
|
|
}
|
|
}), t._v(" "), n("animate", {
|
|
attrs: {
|
|
attributeName: "cx",
|
|
values: "16;16;50;84;84",
|
|
keyTimes: "0;0.25;0.5;0.75;1",
|
|
keySplines: "0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1",
|
|
calcMode: "spline",
|
|
dur: "1.7s",
|
|
repeatCount: "indefinite",
|
|
begin: "0s"
|
|
}
|
|
}) ]), t._v(" "), n("circle", {
|
|
attrs: {
|
|
cx: "16",
|
|
cy: "50",
|
|
r: "0",
|
|
fill: "#f3b72e"
|
|
}
|
|
}, [ n("animate", {
|
|
attrs: {
|
|
attributeName: "r",
|
|
values: "0;0;10;10;10",
|
|
keyTimes: "0;0.25;0.5;0.75;1",
|
|
keySplines: "0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1",
|
|
calcMode: "spline",
|
|
dur: "1.7s",
|
|
repeatCount: "indefinite",
|
|
begin: "0s"
|
|
}
|
|
}), t._v(" "), n("animate", {
|
|
attrs: {
|
|
attributeName: "cx",
|
|
values: "16;16;16;50;84",
|
|
keyTimes: "0;0.25;0.5;0.75;1",
|
|
keySplines: "0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1",
|
|
calcMode: "spline",
|
|
dur: "1.7s",
|
|
repeatCount: "indefinite",
|
|
begin: "0s"
|
|
}
|
|
}) ]) ]);
|
|
},
|
|
staticRenderFns: []
|
|
};
|
|
}, function(t, e) {
|
|
t.exports = {
|
|
render: function() {
|
|
var t = this, e = t.$createElement, n = t._self._c || e;
|
|
return n("div", [ t.title ? n("div", {
|
|
staticClass: "yd-gridstitle"
|
|
}, [ t._v(t._s(t.title)) ]) : t._e(), t._v(" "), n("div", {
|
|
"class": t.classes
|
|
}, [ t._t("default") ], 2) ]);
|
|
},
|
|
staticRenderFns: []
|
|
};
|
|
}, function(t, e) {
|
|
t.exports = {
|
|
render: function() {
|
|
var t = this, e = t.$createElement, n = t._self._c || e;
|
|
return n("router-link", {
|
|
staticClass: "yd-tabbar-item",
|
|
"class": t.classes,
|
|
style: t.styles,
|
|
attrs: {
|
|
to: t.link,
|
|
exact: t.$parent.exact,
|
|
"active-class": t.$parent.activeClass
|
|
}
|
|
}, [ n("span", {
|
|
staticClass: "yd-tabbar-icon"
|
|
}, [ t._t("icon"), t._v(" "), n("span", {
|
|
staticClass: "yd-tabbar-badge"
|
|
}, [ t._t("badge") ], 2), t._v(" "), t.dot ? n("span", {
|
|
staticClass: "yd-tabbar-dot"
|
|
}) : t._e() ], 2), t._v(" "), n("span", {
|
|
staticClass: "yd-tabbar-txt"
|
|
}, [ t._v(t._s(t.title)) ]) ]);
|
|
},
|
|
staticRenderFns: []
|
|
};
|
|
}, function(t, e) {
|
|
t.exports = {
|
|
render: function() {
|
|
var t = this, e = t.$createElement, n = t._self._c || e;
|
|
return n("label", {
|
|
staticClass: "yd-radio"
|
|
}, [ n("input", {
|
|
attrs: {
|
|
type: "radio",
|
|
disabled: t.disabled
|
|
},
|
|
domProps: {
|
|
checked: t.checked
|
|
},
|
|
on: {
|
|
change: t.changeHandler
|
|
}
|
|
}), t._v(" "), n("span", {
|
|
staticClass: "yd-radio-icon",
|
|
style: [ {
|
|
color: t.$parent.color
|
|
}, t.styles(1) ]
|
|
}, [ n("i", {
|
|
style: t.styles(2)
|
|
}) ]), t._v(" "), t.$slots.default ? n("span", {
|
|
staticClass: "yd-radio-text"
|
|
}, [ t._t("default") ], 2) : n("span", {
|
|
staticClass: "yd-radio-text"
|
|
}, [ t._v(t._s(t.val)) ]) ]);
|
|
},
|
|
staticRenderFns: []
|
|
};
|
|
}, function(t, e) {
|
|
t.exports = {
|
|
render: function() {
|
|
var t = this, e = t.$createElement, n = t._self._c || e;
|
|
return n("div", [ t._t("default") ], 2);
|
|
},
|
|
staticRenderFns: []
|
|
};
|
|
}, function(t, e) {
|
|
t.exports = {
|
|
render: function() {
|
|
var t = this, e = t.$createElement, n = t._self._c || e;
|
|
return n("div", {
|
|
staticClass: "yd-dialog-white-mask"
|
|
}, [ n("div", {
|
|
staticClass: "yd-loading"
|
|
}, [ n("div", {
|
|
staticClass: "yd-loading-icon"
|
|
}), t._v(" "), n("div", {
|
|
staticClass: "yd-loading-txt",
|
|
domProps: {
|
|
innerHTML: t._s(t.title)
|
|
}
|
|
}) ]) ]);
|
|
},
|
|
staticRenderFns: []
|
|
};
|
|
}, function(t, e) {
|
|
t.exports = {
|
|
render: function() {
|
|
var t = this, e = t.$createElement, n = t._self._c || e;
|
|
return n("div", {
|
|
staticStyle: {
|
|
display: "none"
|
|
}
|
|
}, [ t._t("top"), t._v(" "), n("div", {
|
|
staticClass: "yd-lightbox-scroller"
|
|
}, [ t._t("content") ], 2), t._v(" "), t._t("bottom") ], 2);
|
|
},
|
|
staticRenderFns: []
|
|
};
|
|
}, function(t, e) {
|
|
t.exports = {
|
|
render: function() {
|
|
var t = this, e = t.$createElement, n = t._self._c || e;
|
|
return n("div", {
|
|
staticClass: "yd-datetime-input",
|
|
on: {
|
|
click: function(e) {
|
|
e.stopPropagation(), t.open(e);
|
|
}
|
|
}
|
|
}, [ t._v(t._s(t.value)) ]);
|
|
},
|
|
staticRenderFns: []
|
|
};
|
|
}, function(t, e) {
|
|
t.exports = {
|
|
render: function() {
|
|
var t = this, e = t.$createElement, n = t._self._c || e;
|
|
return n("div", [ n("div", {
|
|
directives: [ {
|
|
name: "show",
|
|
rawName: "v-show",
|
|
value: t.show,
|
|
expression: "show"
|
|
} ],
|
|
staticClass: "yd-popup-mask",
|
|
on: {
|
|
click: function(e) {
|
|
e.stopPropagation(), t.close(e);
|
|
}
|
|
}
|
|
}), t._v(" "), n("div", {
|
|
ref: "box",
|
|
"class": t.classes,
|
|
style: t.styles()
|
|
}, [ t.$slots.top && "center" != t.position ? n("div", {
|
|
ref: "top"
|
|
}, [ t._t("top") ], 2) : t._e(), t._v(" "), n("div", {
|
|
staticClass: "yd-popup-content"
|
|
}, [ n("div", {
|
|
ref: "content"
|
|
}, [ t._t("default") ], 2) ]), t._v(" "), t.$slots.bottom && "center" != t.position ? n("div", {
|
|
ref: "bottom"
|
|
}, [ t._t("bottom") ], 2) : t._e() ]) ]);
|
|
},
|
|
staticRenderFns: []
|
|
};
|
|
}, function(t, e) {
|
|
t.exports = {
|
|
render: function() {
|
|
var t = this, e = t.$createElement, n = t._self._c || e;
|
|
return n("div", {
|
|
staticClass: "yd-tab-panel-item",
|
|
"class": t.classes
|
|
}, [ t._t("default") ], 2);
|
|
},
|
|
staticRenderFns: []
|
|
};
|
|
}, function(t, e) {
|
|
t.exports = {
|
|
render: function() {
|
|
var t = this, e = t.$createElement, n = t._self._c || e;
|
|
return n("div", {
|
|
staticClass: "yd-checklist",
|
|
"class": "right" == t.align ? "yd-checklist-alignright" : "",
|
|
style: {
|
|
color: t.color
|
|
}
|
|
}, [ t._t("default") ], 2);
|
|
},
|
|
staticRenderFns: []
|
|
};
|
|
}, function(t, e) {
|
|
t.exports = {
|
|
render: function() {
|
|
var t = this, e = t.$createElement, n = t._self._c || e;
|
|
return n("li", {
|
|
staticClass: "yd-step-item",
|
|
"class": t.currentClass
|
|
}, [ 1 == t.theme ? [ n("em", {
|
|
"class": t.stepNumber < t.current ? "yd-step-checkmark" : ""
|
|
}, [ n("i", [ t._v(t._s(t.stepNumber >= t.current ? t.stepNumber : "")) ]) ]) ] : [ n("em") ], t._v(" "), n("div", {
|
|
staticClass: "yd-step-item-top"
|
|
}, [ n("div", {
|
|
staticClass: "yd-step-item-top-text"
|
|
}, [ n("span", [ t._t("top") ], 2) ]) ]), t._v(" "), n("div", {
|
|
staticClass: "yd-step-item-bottom"
|
|
}, [ t._t("bottom") ], 2) ], 2);
|
|
},
|
|
staticRenderFns: []
|
|
};
|
|
}, function(t, e) {
|
|
"use strict";
|
|
Object.defineProperty(e, "__esModule", {
|
|
value: !0
|
|
}), e.default = {
|
|
name: "yd-accordion-item",
|
|
data: function() {
|
|
return {
|
|
show: this.open,
|
|
height: 0,
|
|
styleHeight: {
|
|
height: 0
|
|
}
|
|
};
|
|
},
|
|
props: {
|
|
title: String,
|
|
open: {
|
|
type: Boolean,
|
|
"default": !1
|
|
}
|
|
},
|
|
watch: {
|
|
open: function(t) {
|
|
t ? this.$parent.open(this._uid) : this.closeItem();
|
|
}
|
|
},
|
|
methods: {
|
|
toggle: function() {
|
|
this.$parent.open(this._uid);
|
|
},
|
|
openItem: function() {
|
|
var t = this;
|
|
this.$parent.opening = !0, this.styleHeight = {
|
|
height: this.$refs.content.offsetHeight + "px"
|
|
}, setTimeout(function() {
|
|
t.styleHeight = {}, t.$parent.opening = !1;
|
|
}, 200), this.show = !0;
|
|
},
|
|
closeItem: function() {
|
|
var t = this;
|
|
void 0 === this.styleHeight.height ? (this.styleHeight = {
|
|
height: this.$refs.content.offsetHeight + "px"
|
|
}, setTimeout(function() {
|
|
t.styleHeight = {
|
|
height: 0
|
|
};
|
|
}, 50)) : this.styleHeight = {
|
|
height: 0
|
|
}, this.show = !1;
|
|
}
|
|
},
|
|
mounted: function() {
|
|
var t = this;
|
|
this.$nextTick(function() {
|
|
t.open && t.openItem();
|
|
});
|
|
}
|
|
};
|
|
}, function(t, e) {
|
|
"use strict";
|
|
Object.defineProperty(e, "__esModule", {
|
|
value: !0
|
|
}), e.default = {
|
|
name: "yd-accordion",
|
|
data: function() {
|
|
return {
|
|
opening: !1
|
|
};
|
|
},
|
|
props: {
|
|
accordion: {
|
|
type: Boolean,
|
|
"default": !1
|
|
}
|
|
},
|
|
methods: {
|
|
open: function(t) {
|
|
var e = this;
|
|
this.opening || this.$children.forEach(function(n) {
|
|
n._uid === t ? n.show ? n.closeItem() : n.openItem() : !e.accordion && n.closeItem();
|
|
});
|
|
}
|
|
}
|
|
};
|
|
}, function(t, e, n) {
|
|
"use strict";
|
|
Object.defineProperty(e, "__esModule", {
|
|
value: !0
|
|
});
|
|
var i = n(3);
|
|
e.default = {
|
|
name: "yd-actionsheet",
|
|
data: function() {
|
|
return {
|
|
show: this.value
|
|
};
|
|
},
|
|
props: {
|
|
value: {
|
|
type: Boolean,
|
|
"default": !1
|
|
},
|
|
items: {
|
|
type: Array,
|
|
require: !0
|
|
},
|
|
cancel: String
|
|
},
|
|
watch: {
|
|
value: function(t) {
|
|
i.isIOS && (t ? (i.pageScroll.lock(), (0, i.addClass)(this.scrollView, "g-fix-ios-overflow-scrolling-bug")) : (i.pageScroll.unlock(),
|
|
(0, i.removeClass)(this.scrollView, "g-fix-ios-overflow-scrolling-bug"))), this.show = t;
|
|
}
|
|
},
|
|
methods: {
|
|
itemClick: function(t) {
|
|
t && ("function" == typeof t.method && t.method(t), "function" == typeof t.callback && t.callback(t),
|
|
!t.stay && this.close());
|
|
},
|
|
close: function() {
|
|
i.isIOS && (0, i.removeClass)(this.scrollView, "g-fix-ios-overflow-scrolling-bug"),
|
|
this.$emit("input", !1);
|
|
}
|
|
},
|
|
destroyed: function() {
|
|
this.close(), i.pageScroll.unlock();
|
|
},
|
|
mounted: function() {
|
|
this.scrollView = (0, i.getScrollview)(this.$el);
|
|
}
|
|
};
|
|
}, function(t, e, n) {
|
|
"use strict";
|
|
Object.defineProperty(e, "__esModule", {
|
|
value: !0
|
|
});
|
|
var i = n(3);
|
|
e.default = {
|
|
name: "yd-backtop",
|
|
data: function() {
|
|
return {
|
|
show: !1
|
|
};
|
|
},
|
|
methods: {
|
|
backtop: function() {
|
|
var t = this.scrollView === window ? document.body.scrollTop : this.scrollView.scrollTop;
|
|
(0, i.scrollTop)(this.scrollView, t, 0);
|
|
},
|
|
scrollHandler: function() {
|
|
var t = window.pageYOffset, e = window.innerHeight;
|
|
this.scrollView !== window && (t = this.scrollView.scrollTop, e = this.scrollView.offsetHeight),
|
|
this.show = t >= e / 2;
|
|
},
|
|
throttle: function(t, e) {
|
|
clearTimeout(t.tId), t.tId = setTimeout(function() {
|
|
t.call(e);
|
|
}, 50);
|
|
},
|
|
throttledCheck: function() {
|
|
this.throttle(this.scrollHandler);
|
|
}
|
|
},
|
|
mounted: function() {
|
|
this.scrollView = (0, i.getScrollview)(this.$el), this.scrollView.addEventListener("scroll", this.throttledCheck, !1),
|
|
this.scrollView.addEventListener("resize", this.scrollHandler, !1);
|
|
},
|
|
destroyed: function() {
|
|
this.scrollView.removeEventListener("scroll", this.throttledCheck, !1), this.scrollView.removeEventListener("resize", this.scrollHandler, !1);
|
|
}
|
|
};
|
|
}, function(t, e, n) {
|
|
"use strict";
|
|
Object.defineProperty(e, "__esModule", {
|
|
value: !0
|
|
});
|
|
var i = n(3);
|
|
e.default = {
|
|
name: "yd-badge",
|
|
props: {
|
|
type: {
|
|
validator: function(t) {
|
|
return [ "primary", "danger", "warning", "hollow" ].indexOf(t) > -1;
|
|
}
|
|
},
|
|
shape: {
|
|
validator: function(t) {
|
|
return [ "circle", "square" ].indexOf(t) > -1;
|
|
}
|
|
},
|
|
color: {
|
|
validator: function(t) {
|
|
return !t || (0, i.isColor)(t);
|
|
}
|
|
},
|
|
bgcolor: {
|
|
validator: function(t) {
|
|
return !t || (0, i.isColor)(t);
|
|
}
|
|
}
|
|
},
|
|
computed: {
|
|
typesClass: function() {
|
|
return this.bgcolor ? "square" == this.shape ? " yd-badge-radius" : "" : (this.type ? "yd-badge-" + this.type : "") + ("square" == this.shape ? " yd-badge-radius" : "");
|
|
}
|
|
}
|
|
};
|
|
}, function(t, e) {
|
|
"use strict";
|
|
Object.defineProperty(e, "__esModule", {
|
|
value: !0
|
|
}), e.default = {
|
|
name: "yd-button-group"
|
|
};
|
|
}, function(t, e, n) {
|
|
"use strict";
|
|
Object.defineProperty(e, "__esModule", {
|
|
value: !0
|
|
});
|
|
var i = n(3);
|
|
e.default = {
|
|
name: "yd-button",
|
|
props: {
|
|
disabled: Boolean,
|
|
type: {
|
|
validator: function(t) {
|
|
return [ "primary", "danger", "warning", "hollow", "disabled" ].indexOf(t) > -1;
|
|
},
|
|
"default": "primary"
|
|
},
|
|
size: {
|
|
validator: function(t) {
|
|
return [ "small", "large" ].indexOf(t) > -1;
|
|
}
|
|
},
|
|
bgcolor: {
|
|
validator: function(t) {
|
|
return !t || (0, i.isColor)(t);
|
|
}
|
|
},
|
|
color: {
|
|
validator: function(t) {
|
|
return !t || (0, i.isColor)(t);
|
|
}
|
|
},
|
|
shape: {
|
|
validator: function(t) {
|
|
return [ "square", "circle" ].indexOf(t) > -1;
|
|
},
|
|
"default": "square"
|
|
}
|
|
},
|
|
computed: {
|
|
classes: function() {
|
|
var t = "large" === this.size ? "yd-btn-block" : "yd-btn", e = "yd-btn-" + this.type;
|
|
return this.disabled && (e = "yd-btn-disabled"), this.bgcolor && (e = ""), t + " " + e + ("circle" === this.shape ? " yd-btn-circle" : "");
|
|
}
|
|
}
|
|
};
|
|
}, function(t, e) {
|
|
"use strict";
|
|
Object.defineProperty(e, "__esModule", {
|
|
value: !0
|
|
}), e.default = {
|
|
name: "yd-cell-group",
|
|
props: {
|
|
title: String
|
|
}
|
|
};
|
|
}, function(t, e) {
|
|
"use strict";
|
|
Object.defineProperty(e, "__esModule", {
|
|
value: !0
|
|
}), e.default = {
|
|
name: "yd-cell-item",
|
|
props: {
|
|
type: {
|
|
validator: function(t) {
|
|
return [ "link", "a", "label", "div", "checkbox", "radio" ].indexOf(t) > -1;
|
|
},
|
|
"default": "div"
|
|
},
|
|
arrow: {
|
|
type: Boolean,
|
|
"default": !1
|
|
},
|
|
href: {
|
|
type: [ String, Object ]
|
|
}
|
|
},
|
|
computed: {
|
|
checkLeft: function() {
|
|
return !!this.$slots.left || !!this.$slots.icon;
|
|
},
|
|
classes: function() {
|
|
return this.arrow ? "yd-cell-arrow" : "";
|
|
}
|
|
}
|
|
};
|
|
}, function(t, e, n) {
|
|
"use strict";
|
|
Object.defineProperty(e, "__esModule", {
|
|
value: !0
|
|
});
|
|
var i = n(3);
|
|
e.default = {
|
|
name: "yd-checkbox-group",
|
|
props: {
|
|
value: {
|
|
type: Array,
|
|
"default": []
|
|
},
|
|
color: {
|
|
validator: function(t) {
|
|
return !t || (0, i.isColor)(t);
|
|
},
|
|
"default": "#4CD864"
|
|
},
|
|
size: {
|
|
validator: function(t) {
|
|
return /^([1-9]\d*)$/.test(t);
|
|
},
|
|
"default": 20
|
|
}
|
|
},
|
|
methods: {
|
|
updateValue: function() {
|
|
var t = this.value;
|
|
this.childrens = this.$children.filter(function(t) {
|
|
return "yd-checkbox" === t.$options.name;
|
|
}), this.childrens && this.childrens.forEach(function(e) {
|
|
e.model = t;
|
|
});
|
|
},
|
|
change: function(t) {
|
|
this.$emit("input", t);
|
|
}
|
|
},
|
|
watch: {
|
|
value: function() {
|
|
this.updateValue();
|
|
}
|
|
},
|
|
mounted: function() {
|
|
this.$nextTick(this.updateValue);
|
|
}
|
|
};
|
|
}, function(t, e, n) {
|
|
"use strict";
|
|
Object.defineProperty(e, "__esModule", {
|
|
value: !0
|
|
});
|
|
var i = n(3);
|
|
e.default = {
|
|
name: "yd-checkbox",
|
|
data: function() {
|
|
return {
|
|
model: [],
|
|
group: !1,
|
|
checked: this.value
|
|
};
|
|
},
|
|
props: {
|
|
value: {
|
|
type: Boolean,
|
|
"default": !1
|
|
},
|
|
val: {
|
|
type: [ Boolean, String, Number ]
|
|
},
|
|
disabled: {
|
|
type: Boolean,
|
|
"default": !1
|
|
},
|
|
color: {
|
|
validator: function(t) {
|
|
return !t || (0, i.isColor)(t);
|
|
},
|
|
"default": "#4CD864"
|
|
},
|
|
size: {
|
|
validator: function(t) {
|
|
return /^([1-9]\d*)$/.test(t);
|
|
},
|
|
"default": 20
|
|
},
|
|
shape: {
|
|
validator: function(t) {
|
|
return [ "square", "circle" ].indexOf(t) > -1;
|
|
},
|
|
"default": "square"
|
|
}
|
|
},
|
|
methods: {
|
|
changeHandler: function() {
|
|
var t = this;
|
|
this.disabled || setTimeout(function() {
|
|
t.$parent.change(t.model);
|
|
}, 0);
|
|
},
|
|
iconStyles: function() {
|
|
var t = (this.group ? this.$parent.size : this.size) + "px", e = this.group ? this.$parent.color : this.color;
|
|
return {
|
|
width: t,
|
|
height: t,
|
|
color: e
|
|
};
|
|
},
|
|
checkIconStyles: function() {
|
|
var t = this.group ? this.$parent.size : this.size;
|
|
return {
|
|
width: Math.round(t / 3.2) + "px",
|
|
height: Math.round(t / 1.7) + "px"
|
|
};
|
|
}
|
|
},
|
|
watch: {
|
|
checked: function(t) {
|
|
this.$emit("input", t);
|
|
},
|
|
value: function(t) {
|
|
this.checked = t;
|
|
}
|
|
},
|
|
created: function() {
|
|
this.$parent.color && (this.group = !0);
|
|
}
|
|
};
|
|
}, function(t, e) {
|
|
"use strict";
|
|
Object.defineProperty(e, "__esModule", {
|
|
value: !0
|
|
}), e.default = {
|
|
name: "yd-checklist-item",
|
|
data: function() {
|
|
return {
|
|
checked: !1,
|
|
label: !0
|
|
};
|
|
},
|
|
methods: {
|
|
changeHandler: function() {
|
|
this.disabled || (this.checked = !this.checked, this.$parent.emitInput());
|
|
},
|
|
emitChangeHandler: function() {
|
|
this.label && this.changeHandler();
|
|
}
|
|
},
|
|
props: {
|
|
disabled: {
|
|
type: Boolean,
|
|
"default": !1
|
|
},
|
|
val: {
|
|
type: [ Boolean, String, Number ],
|
|
required: !0
|
|
}
|
|
},
|
|
mounted: function() {
|
|
this.$nextTick(this.$parent.checkItem);
|
|
}
|
|
};
|
|
}, function(t, e, n) {
|
|
"use strict";
|
|
Object.defineProperty(e, "__esModule", {
|
|
value: !0
|
|
});
|
|
var i = n(3);
|
|
e.default = {
|
|
name: "yd-checklist",
|
|
data: function() {
|
|
return {
|
|
isCheckAll: !1
|
|
};
|
|
},
|
|
props: {
|
|
value: {
|
|
type: Array
|
|
},
|
|
color: {
|
|
validator: function(t) {
|
|
return (0, i.isColor)(t);
|
|
},
|
|
"default": "#4CD864"
|
|
},
|
|
align: {
|
|
type: String,
|
|
validator: function(t) {
|
|
return [ "left", "right" ].indexOf(t) > -1;
|
|
},
|
|
"default": "left"
|
|
},
|
|
label: {
|
|
type: Boolean,
|
|
"default": !0
|
|
},
|
|
callback: {
|
|
type: Function
|
|
}
|
|
},
|
|
methods: {
|
|
checkItem: function() {
|
|
var t = this, e = this.$children.filter(function(t) {
|
|
return "yd-checklist-item" === t.$options.name;
|
|
});
|
|
e.forEach(function(e) {
|
|
e.checked = t.contains(t.value, e.val), e.label = t.label;
|
|
});
|
|
},
|
|
contains: function(t, e) {
|
|
for (var n = t.length; n--; ) if (t[n] == e) return !0;
|
|
return !1;
|
|
},
|
|
emitInput: function(t, e) {
|
|
var n = [], i = this.$children.filter(function(t) {
|
|
return "yd-checklist-item" === t.$options.name;
|
|
}), r = 0;
|
|
i.forEach(function(i) {
|
|
i.disabled ? r++ : t && (i.checked = e), i.checked && n.push(i.val);
|
|
}), this.isCheckAll = n.length >= i.length - r, this.$emit("input", n);
|
|
},
|
|
checkAll: function(t) {
|
|
this.emitInput(!0, t);
|
|
}
|
|
},
|
|
watch: {
|
|
value: function(t) {
|
|
this.callback && this.callback(t, this.isCheckAll), this.$nextTick(this.checkItem);
|
|
}
|
|
},
|
|
mounted: function() {
|
|
this.$on("ydui.checklist.checkall", this.checkAll);
|
|
}
|
|
};
|
|
}, function(t, e, n) {
|
|
"use strict";
|
|
Object.defineProperty(e, "__esModule", {
|
|
value: !0
|
|
});
|
|
var i = n(3);
|
|
e.default = {
|
|
name: "yd-cityselect",
|
|
data: function() {
|
|
return {
|
|
show: this.value,
|
|
navIndex: 1,
|
|
nav: {
|
|
txt1: "请选择",
|
|
txt2: "",
|
|
txt3: ""
|
|
},
|
|
columns: {
|
|
columnItems1: this.items,
|
|
columnItems2: [],
|
|
columnItems3: []
|
|
},
|
|
active: {},
|
|
activeClasses: "",
|
|
itemHeight: 40,
|
|
columnNum: 1
|
|
};
|
|
},
|
|
props: {
|
|
ready: {
|
|
type: Boolean,
|
|
"default": !0
|
|
},
|
|
provance: String,
|
|
city: String,
|
|
area: String,
|
|
done: Function,
|
|
callback: Function,
|
|
title: {
|
|
type: String,
|
|
"default": "所在地区"
|
|
},
|
|
value: {
|
|
type: Boolean,
|
|
"default": !1
|
|
},
|
|
items: {
|
|
type: Array,
|
|
required: !0
|
|
}
|
|
},
|
|
watch: {
|
|
value: function(t) {
|
|
i.isIOS && (t ? (i.pageScroll.lock(this.$refs.mask), (0, i.addClass)(this.scrollView, "g-fix-ios-overflow-scrolling-bug")) : (i.pageScroll.unlock(this.$refs.mask),
|
|
(0, i.removeClass)(this.scrollView, "g-fix-ios-overflow-scrolling-bug"))), this.show = t;
|
|
},
|
|
ready: function(t) {
|
|
t && this.$nextTick(this.init);
|
|
}
|
|
},
|
|
methods: {
|
|
init: function() {
|
|
var t = this;
|
|
this.scrollView = (0, i.getScrollview)(this.$el), this.ready && (this.isArray(this.items) && this.provance && this.setDefalutValue(this.items, "provance", 1),
|
|
this.$on("ydui.cityselect.reset", function() {
|
|
for (var e = 1; e <= t.columnNum; e++) t.active["itemValue" + e] = "", t.active["itemName" + e] = "",
|
|
e - 1 === 0 ? (t.navIndex = e, t.nav["txt" + e] = "请选择", t.$refs["itemBox" + e][0].scrollTop = 0,
|
|
t.backoffView(!1)) : (t.nav["txt" + e] = "", t.columns["columnItems" + e] = []),
|
|
e === t.columnNum && t.returnValue();
|
|
}));
|
|
},
|
|
navEvent: function(t) {
|
|
this.columnNum > 2 && (t >= this.columnNum ? this.forwardView(!0) : this.backoffView(!0)),
|
|
this.navIndex = t;
|
|
},
|
|
itemEvent: function(t, e, n, i) {
|
|
t === 1 && (this.active = {},this.nav = {}),t===2 && (this.active['itemValue'+(t+1)] = undefined,this.active['itemName'+(t+1)] = undefined,this.nav['txt'+(t+1)]=undefined), this.active["itemValue" + t] = n, this.active["itemName" + t] = e, this.nav["txt" + t] = e,
|
|
this.columns["columnItems" + (t + 1)] = i, t > 1 && i && this.columnNum > 2 && this.forwardView(!0),
|
|
this.clearNavTxt(t), t === this.columnNum || i.length <= 0 ? (this.navIndex = t,
|
|
this.returnValue()) : (this.navIndex = t + 1, this.nav["txt" + (t + 1)] = "请选择");
|
|
},
|
|
currentClass: function(t, e, n) {
|
|
return t && t == this.active["itemValue" + n] || e && e === this.active["itemName" + n] ? "yd-cityselect-item-active" : "";
|
|
},
|
|
clearNavTxt: function(t) {
|
|
for (var e = 0; e < this.columnNum; e++) e > t && (this.nav["txt" + (e + 1)] = "");
|
|
},
|
|
getColumsNum: function(t) {
|
|
this.isArray(t.c) && (this.columnNum++, this.getColumsNum(t.c[0]));
|
|
},
|
|
isArray: function(t) {
|
|
return t && t.constructor === Array && t.length > 0;
|
|
},
|
|
setDefalutValue: function(t, e, n) {
|
|
var i = this;
|
|
t.every(function(t, r) {
|
|
if (t.v == i[e] || t.n === i[e]) {
|
|
var s = i.columns["columnItems" + (n + 1)] = t.c, o = i.$refs["itemBox" + n][0];
|
|
return o.scrollTop = r * i.itemHeight - o.offsetHeight / 3, i.active["itemValue" + n] = t.v,
|
|
i.active["itemName" + n] = t.n, i.nav["txt" + n] = t.n, i.navIndex = n, ++n, n >= i.columnNum && i.columnNum > 2 && i.forwardView(!1),
|
|
i.isArray(s) && i.setDefalutValue(s, [ "", "provance", "city", "area" ][n], n),
|
|
!1;
|
|
}
|
|
return !0;
|
|
});
|
|
},
|
|
returnValue: function() {
|
|
this.done && this.done(this.active), this.callback && this.callback(this.active),
|
|
this.close();
|
|
},
|
|
close: function() {
|
|
i.isIOS && (0, i.removeClass)(this.scrollView, "g-fix-ios-overflow-scrolling-bug"),
|
|
this.$emit("input", !1), this.show = !1;
|
|
},
|
|
backoffView: function(t) {
|
|
this.activeClasses = (t ? "yd-cityselect-move-animate" : "") + " yd-cityselect-prev";
|
|
},
|
|
forwardView: function(t) {
|
|
this.activeClasses = (t ? "yd-cityselect-move-animate" : "") + " yd-cityselect-next";
|
|
}
|
|
},
|
|
created: function() {
|
|
this.items && this.items[0] && this.getColumsNum(this.items[0]);
|
|
},
|
|
mounted: function() {
|
|
this.init();
|
|
},
|
|
destroyed: function() {
|
|
this.close();
|
|
}
|
|
};
|
|
}, function(t, e) {
|
|
"use strict";
|
|
Object.defineProperty(e, "__esModule", {
|
|
value: !0
|
|
}), e.default = {
|
|
name: "yd-countdown",
|
|
data: function() {
|
|
return {
|
|
str: "",
|
|
timer: null,
|
|
tempFormat: "",
|
|
showTpl: !0
|
|
};
|
|
},
|
|
props: {
|
|
time: {
|
|
type: [ String, Number ]
|
|
},
|
|
format: {
|
|
type: String,
|
|
"default": "{%d}天{%h}时{%m}分{%s}秒"
|
|
},
|
|
timetype: {
|
|
validator: function(t) {
|
|
return [ "datetime", "second" ].indexOf(t) > -1;
|
|
},
|
|
"default": "datetime"
|
|
},
|
|
callback: {
|
|
type: Function
|
|
},
|
|
doneText: {
|
|
type: String,
|
|
"default": "已结束"
|
|
}
|
|
},
|
|
watch: {
|
|
time: function(t) {
|
|
t && this.run();
|
|
}
|
|
},
|
|
methods: {
|
|
run: function() {
|
|
this.time && ("second" === this.timetype ? this.lastTime = Math.floor(new Date() / 1e3) + ~~this.time : this.lastTime = Math.floor(new Date(this.time).getTime() / 1e3),
|
|
this.doRun(), this.timer = setInterval(this.doRun, 1e3));
|
|
},
|
|
doRun: function() {
|
|
var t = this.lastTime - Math.floor(new Date().getTime() / 1e3);
|
|
t > 0 ? this.str = this.timestampTotime(t) : (this.callback && this.callback(),
|
|
this.str = this.doneText, clearInterval(this.timer));
|
|
},
|
|
timestampTotime: function(t) {
|
|
var e = this.tempFormat, n = {};
|
|
n.s = t % 60, t = Math.floor(t / 60), n.m = t % 60, t = Math.floor(t / 60), n.h = t % 24,
|
|
n.d = Math.floor(t / 24);
|
|
var i = function(t) {
|
|
return t <= 0 ? "00" : t < 10 ? "0" + t : t;
|
|
}, r = [ "d", "h", "m", "s" ];
|
|
return r.forEach(function(t) {
|
|
var r = i(n[t]).toString().split("");
|
|
e = e.replace("{%" + t + "}", i(n[t])), e = e.replace("{%" + t + "0}", 0 != ~~r[0] ? r[0] : ""),
|
|
e = e.replace("{%" + t + "1}", ~~r[r.length - 2]), e = e.replace("{%" + t + "2}", ~~r[r.length - 1]);
|
|
}), e;
|
|
}
|
|
},
|
|
mounted: function() {
|
|
var t = this;
|
|
this.$nextTick(function() {
|
|
t.tempFormat = t.$slots.default ? t.$refs.tpl.innerHTML : t.format, t.showTpl = !1,
|
|
t.run();
|
|
});
|
|
},
|
|
destroyed: function() {
|
|
clearInterval(this.timer);
|
|
}
|
|
};
|
|
}, function(t, e, n) {
|
|
"use strict";
|
|
function i(t) {
|
|
return t && t.__esModule ? t : {
|
|
"default": t
|
|
};
|
|
}
|
|
Object.defineProperty(e, "__esModule", {
|
|
value: !0
|
|
});
|
|
var r = n(258), s = i(r);
|
|
e.default = {
|
|
name: "yd-countup",
|
|
data: function() {
|
|
return {
|
|
instance: null
|
|
};
|
|
},
|
|
props: {
|
|
start: {
|
|
type: Boolean,
|
|
"default": !0
|
|
},
|
|
startnum: {
|
|
validator: function(t) {
|
|
return /^([0]|[1-9]\d*)(\.\d*)?$/.test(t);
|
|
},
|
|
"default": 0
|
|
},
|
|
endnum: {
|
|
validator: function(t) {
|
|
return /^([0]|[1-9]\d*)(\.\d*)?$/.test(t);
|
|
},
|
|
required: !0
|
|
},
|
|
decimals: {
|
|
validator: function(t) {
|
|
return /^\d*$/.test(t);
|
|
},
|
|
"default": 0
|
|
},
|
|
duration: {
|
|
validator: function(t) {
|
|
return /^([0]|[1-9]\d*)(\.\d*)?$/.test(t);
|
|
},
|
|
"default": 2
|
|
},
|
|
useEasing: {
|
|
type: Boolean,
|
|
"default": !1
|
|
},
|
|
separator: {
|
|
type: String,
|
|
"default": ""
|
|
},
|
|
prefix: {
|
|
type: String,
|
|
"default": ""
|
|
},
|
|
suffix: {
|
|
type: String,
|
|
"default": ""
|
|
},
|
|
callback: {
|
|
type: Function
|
|
}
|
|
},
|
|
watch: {
|
|
start: function(t) {
|
|
var e = this;
|
|
t && this.instance.start(function() {
|
|
e.callback && e.callback(e.instance);
|
|
});
|
|
},
|
|
endnum: function(t) {
|
|
this.instance && this.instance.update && this.instance.update(t);
|
|
}
|
|
},
|
|
methods: {
|
|
init: function() {
|
|
var t = this;
|
|
if (!this.instance) {
|
|
var e = {
|
|
decimal: ".",
|
|
useEasing: this.useEasing,
|
|
separator: this.separator,
|
|
prefix: this.prefix,
|
|
suffix: this.suffix
|
|
};
|
|
this.instance = new s.default(this.$el, this.startnum, this.endnum, this.decimals, this.duration, e),
|
|
this.start && this.instance.start(function() {
|
|
t.callback && t.callback(t.instance);
|
|
});
|
|
}
|
|
}
|
|
},
|
|
mounted: function() {
|
|
this.init();
|
|
},
|
|
destroyed: function() {
|
|
this.instance = null;
|
|
}
|
|
};
|
|
}, function(t, e, n) {
|
|
"use strict";
|
|
function i(t) {
|
|
return t && t.__esModule ? t : {
|
|
"default": t
|
|
};
|
|
}
|
|
Object.defineProperty(e, "__esModule", {
|
|
value: !0
|
|
});
|
|
var r = n(5), s = i(r), o = n(9), a = i(o), l = n(66), c = i(l), u = n(3);
|
|
e.default = {
|
|
name: "yd-datetime",
|
|
data: function() {
|
|
return {
|
|
picker: null,
|
|
currentValue: this.value,
|
|
tmpNum: 0
|
|
};
|
|
},
|
|
props: {
|
|
readonly: {
|
|
type: Boolean,
|
|
"default": !1
|
|
},
|
|
type: {
|
|
type: String,
|
|
validator: function(t) {
|
|
return [ "datetime", "date", "time" ].indexOf(t) > -1;
|
|
},
|
|
"default": "datetime"
|
|
},
|
|
startDate: {
|
|
type: String,
|
|
validator: function(t) {
|
|
return !t || a.default.isDateTimeString(t);
|
|
}
|
|
},
|
|
endDate: {
|
|
type: String,
|
|
validator: function(t) {
|
|
return !t || a.default.isDateTimeString(t);
|
|
}
|
|
},
|
|
startYear: {
|
|
validator: function(t) {
|
|
return /^\d{4}|0$/.test(t);
|
|
},
|
|
"default": 0
|
|
},
|
|
endYear: {
|
|
validator: function(t) {
|
|
return /^\d{4}|0$/.test(t);
|
|
},
|
|
"default": 0
|
|
},
|
|
startHour: {
|
|
validator: function(t) {
|
|
return /^(0|[1-9]|1[0-9]|2[0-3])?$/.test(t);
|
|
},
|
|
"default": 0
|
|
},
|
|
endHour: {
|
|
validator: function(t) {
|
|
return /^([1-9]|1[0-9]|2[0-3])?$/.test(t);
|
|
},
|
|
"default": 23
|
|
},
|
|
yearFormat: {
|
|
type: String,
|
|
"default": "{value}年"
|
|
},
|
|
monthFormat: {
|
|
type: String,
|
|
"default": "{value}月"
|
|
},
|
|
dayFormat: {
|
|
type: String,
|
|
"default": "{value}日"
|
|
},
|
|
hourFormat: {
|
|
type: String,
|
|
"default": "{value}时"
|
|
},
|
|
minuteFormat: {
|
|
type: String,
|
|
"default": "{value}分"
|
|
},
|
|
value: {
|
|
type: String,
|
|
validator: function(t) {
|
|
return !t || a.default.isDateTimeString(t) || a.default.isTimeString(t);
|
|
}
|
|
},
|
|
initEmit: {
|
|
type: Boolean,
|
|
"default": !0
|
|
}
|
|
},
|
|
watch: {
|
|
value: function(t) {
|
|
this.currentValue != t && this.render();
|
|
},
|
|
startDate: function() {
|
|
this.render();
|
|
},
|
|
endDate: function() {
|
|
this.render();
|
|
}
|
|
},
|
|
methods: {
|
|
open: function() {
|
|
this.readonly || this.picker.open();
|
|
},
|
|
close: function() {
|
|
this.picker.close();
|
|
},
|
|
removeElement: function() {
|
|
this.picker && this.picker.$el && document.body.removeChild(this.picker.$el);
|
|
},
|
|
render: function() {
|
|
var t = this;
|
|
this.removeElement();
|
|
var e = s.default.extend(c.default), n = this._props;
|
|
n.parentEL = this.$el, this.picker = new e({
|
|
el: document.createElement("div"),
|
|
data: n
|
|
}), document.body.appendChild(this.picker.$el), this.picker.$on("pickerConfirm", function(e) {
|
|
(t.tmpNum > 0 || t.initEmit) && (t.currentValue = e, t.$emit("input", e)), t.tmpNum++;
|
|
});
|
|
}
|
|
},
|
|
mounted: function() {
|
|
this.render();
|
|
},
|
|
beforeDestroy: function() {
|
|
u.pageScroll.unlock(), this.removeElement();
|
|
}
|
|
};
|
|
}, function(t, e, n) {
|
|
"use strict";
|
|
function i(t) {
|
|
return t && t.__esModule ? t : {
|
|
"default": t
|
|
};
|
|
}
|
|
Object.defineProperty(e, "__esModule", {
|
|
value: !0
|
|
});
|
|
var r = n(261), s = i(r), o = n(9), a = i(o), l = n(3);
|
|
e.default = {
|
|
data: function() {
|
|
return {
|
|
value: "",
|
|
show: !1,
|
|
parentEL: null,
|
|
columns: [],
|
|
scroller: [],
|
|
type: "",
|
|
items: {
|
|
Year: [],
|
|
Month: [],
|
|
Day: [],
|
|
Hour: [],
|
|
Minute: []
|
|
},
|
|
scrolling: {
|
|
Year: !1,
|
|
Month: !1,
|
|
Day: !1,
|
|
Hour: !1,
|
|
Minute: !1
|
|
},
|
|
readonly: !1,
|
|
currentYear: "",
|
|
currentMonth: "",
|
|
currentDay: "",
|
|
currentHour: "",
|
|
currentMinute: "",
|
|
currentValue: "",
|
|
yearFormat: "{value}年",
|
|
monthFormat: "{value}月",
|
|
dayFormat: "{value}日",
|
|
hourFormat: "{value}时",
|
|
minuteFormat: "{value}分",
|
|
startYear: 0,
|
|
endYear: 0,
|
|
startHour: 0,
|
|
endHour: 23
|
|
};
|
|
},
|
|
watch: {
|
|
currentYear: function(t) {
|
|
this.setMonths(t);
|
|
},
|
|
currentMonth: function(t) {
|
|
this.setDays(t);
|
|
},
|
|
currentDay: function(t) {
|
|
this.setHours(t);
|
|
},
|
|
currentHour: function(t) {
|
|
this.setMinutes(t);
|
|
}
|
|
},
|
|
methods: {
|
|
init: function() {
|
|
var t = this, e = t.currentValue = t.value.replace(/-/g, "/");
|
|
t.startDate && new Date(e).getTime() < new Date(t.startDate).getTime() && (e = t.currentValue = t.startDate),
|
|
t.endDate && new Date(e).getTime() > new Date(t.endDate).getTime() && (e = t.currentValue = t.endDate);
|
|
var n = t.items.Year = a.default.getYearItems({
|
|
format: t.yearFormat,
|
|
startDate: t.startDate,
|
|
endDate: t.endDate,
|
|
startYear: t.startYear,
|
|
endYear: t.endYear
|
|
}), i = a.default.getMonthItems({
|
|
format: t.monthFormat,
|
|
currentYear: n[0].value,
|
|
startDate: t.startDate,
|
|
endDate: t.endDate
|
|
}), r = a.default.getDateItems({
|
|
format: t.dayFormat,
|
|
currentYear: n[0].value,
|
|
currentMonth: i[0].value,
|
|
startDate: t.startDate,
|
|
endDate: t.endDate
|
|
});
|
|
if ("time" !== t.type) if (e) {
|
|
var s = new Date(e);
|
|
t.currentYear = s.getFullYear(), t.inDatas(n, t.currentYear) || (t.currentYear = n[0].value),
|
|
t.currentMonth = a.default.mentStr(s.getMonth() + 1), t.inDatas(i, t.currentMonth) || (t.currentMonth = i[0].value),
|
|
t.currentDay = a.default.mentStr(s.getDate()), t.inDatas(r, t.currentDay) || (t.currentDay = r[0].value);
|
|
} else t.currentYear = n[0].value, t.currentMonth = i[0].value, t.currentDay = r[0].value;
|
|
if ("datetime" === t.type || "time" === t.type) {
|
|
var o = a.default.getHourItems({
|
|
format: t.hourFormat,
|
|
currentYear: n[0].value,
|
|
currentMonth: i[0].value,
|
|
currentDay: r[0].value,
|
|
startDate: t.startDate,
|
|
endDate: t.endDate,
|
|
startHour: t.startHour,
|
|
endHour: t.endHour
|
|
}), l = a.default.getMinuteItems({
|
|
format: t.minuteFormat,
|
|
currentYear: n[0].value,
|
|
currentMonth: i[0].value,
|
|
currentDay: r[0].value,
|
|
currentHour: o[0].value,
|
|
startDate: t.startDate,
|
|
endDate: t.endDate
|
|
});
|
|
if ("time" === t.type && (t.items.Hour = o), e) {
|
|
if (a.default.isDateTimeString(e)) {
|
|
var c = new Date(e);
|
|
t.currentHour = a.default.mentStr(c.getHours()), t.currentMinute = a.default.mentStr(c.getMinutes());
|
|
} else {
|
|
var u = e.split(":");
|
|
t.currentHour = a.default.mentStr(u[0]), t.currentMinute = a.default.mentStr(u[1]);
|
|
}
|
|
t.inDatas(o, t.currentHour) || (t.currentHour = o[0].value), t.inDatas(l, t.currentMinute) || (t.currentMinute = l[0].value);
|
|
} else t.currentHour = o[0].value, t.currentMinute = l[0].value;
|
|
}
|
|
"datetime" === t.type ? t.columns = [ "Year", "Month", "Day", "Hour", "Minute" ] : "date" === t.type ? t.columns = [ "Year", "Month", "Day" ] : t.columns = [ "Hour", "Minute" ];
|
|
},
|
|
render: function() {
|
|
var t = this;
|
|
t.columns.forEach(function(e) {
|
|
var n = t.$refs["Component_" + e][0], i = t.$refs["Content_" + e][0];
|
|
t.scroller[e] = new s.default(n, i, {
|
|
itemHeight: 38,
|
|
onSelect: function(n) {
|
|
t["current" + e] = n, t.scrolling[e] = !1;
|
|
},
|
|
callback: function(n, r) {
|
|
r && (t.scrolling[e] = !0), i.style.webkitTransform = "translate3d(0, " + -n + "px, 0)";
|
|
}
|
|
}), t.scroller[e].setDimensions(n.clientHeight, i.offsetHeight, t.items[e].length),
|
|
t.scroller[e].select(t["current" + e], !1), t.scrolling[e] = !1;
|
|
}), t.setValue();
|
|
},
|
|
setMonths: function(t) {
|
|
var e = this, n = e.items.Month = a.default.getMonthItems({
|
|
format: e.monthFormat,
|
|
currentYear: t,
|
|
startDate: e.startDate,
|
|
endDate: e.endDate
|
|
});
|
|
e.scrolloToPosition("Month", n, function() {
|
|
e.setDays(e.currentMonth);
|
|
});
|
|
},
|
|
setDays: function(t) {
|
|
var e = this, n = e.items.Day = a.default.getDateItems({
|
|
format: e.dayFormat,
|
|
currentYear: e.currentYear,
|
|
currentMonth: t,
|
|
startDate: e.startDate,
|
|
endDate: e.endDate
|
|
});
|
|
e.scrolloToPosition("Day", n, function() {
|
|
e.setHours(e.currentDay);
|
|
});
|
|
},
|
|
setHours: function(t) {
|
|
var e = this, n = e.items.Hour = a.default.getHourItems({
|
|
format: e.hourFormat,
|
|
currentYear: e.currentYear,
|
|
currentMonth: e.currentMonth,
|
|
currentDay: t,
|
|
startDate: e.startDate,
|
|
endDate: e.endDate,
|
|
startHour: e.startHour,
|
|
endHour: e.endHour
|
|
});
|
|
e.scrolloToPosition("Hour", n, function() {
|
|
e.setMinutes(e.currentHour);
|
|
});
|
|
},
|
|
setMinutes: function(t) {
|
|
var e = this, n = e.items.Minute = a.default.getMinuteItems({
|
|
format: e.minuteFormat,
|
|
currentYear: e.currentYear,
|
|
currentMonth: e.currentMonth,
|
|
currentDay: e.currentDay,
|
|
currentHour: t,
|
|
startDate: e.startDate,
|
|
endDate: e.endDate
|
|
});
|
|
e.scrolloToPosition("Minute", n);
|
|
},
|
|
scrolloToPosition: function(t, e, n) {
|
|
var i = this, r = i.scroller[t];
|
|
r && (r.setDimensions(i.$refs["Component_" + t][0].clientHeight, i.$refs["Content_" + t][0].offsetHeight, e.length),
|
|
setTimeout(function() {
|
|
var s = i.inDatas(e, i["current" + t]);
|
|
i.scrolling[t] || r.select(s ? i["current" + t] : e[0].value, !1), "function" == typeof n && n();
|
|
}, 0));
|
|
},
|
|
setValue: function() {
|
|
var t = "";
|
|
t = "datetime" === this.type ? this.currentYear + "-" + this.currentMonth + "-" + this.currentDay + " " + this.currentHour + ":" + this.currentMinute : "date" === this.type ? this.currentYear + "-" + this.currentMonth + "-" + this.currentDay : this.currentHour + ":" + this.currentMinute,
|
|
this.currentValue = t, this.$emit("pickerConfirm", t), this.close();
|
|
},
|
|
inDatas: function(t, e) {
|
|
var n = !1;
|
|
return t.forEach(function(t) {
|
|
t.value == e && (n = !0);
|
|
}), n;
|
|
},
|
|
open: function() {
|
|
this.readonly || (this.show = !0, l.isIOS && (l.pageScroll.lock(), (0, l.addClass)(this.scrollView, "g-fix-ios-overflow-scrolling-bug")));
|
|
},
|
|
close: function() {
|
|
this.show = !1, l.isIOS && (l.pageScroll.unlock(), (0, l.removeClass)(this.scrollView, "g-fix-ios-overflow-scrolling-bug"));
|
|
}
|
|
},
|
|
created: function() {
|
|
this.init();
|
|
},
|
|
mounted: function() {
|
|
this.scrollView = (0, l.getScrollview)(this.parentEL), this.$nextTick(this.render);
|
|
},
|
|
beforeDestroy: function() {
|
|
var t = this;
|
|
this.columns.forEach(function(e) {
|
|
t.scroller[e] = null;
|
|
});
|
|
}
|
|
};
|
|
}, function(t, e) {
|
|
"use strict";
|
|
Object.defineProperty(e, "__esModule", {
|
|
value: !0
|
|
}), e.default = {
|
|
props: {
|
|
mes: String,
|
|
callback: Function
|
|
}
|
|
};
|
|
}, function(t, e) {
|
|
"use strict";
|
|
Object.defineProperty(e, "__esModule", {
|
|
value: !0
|
|
}), e.default = {
|
|
props: {
|
|
title: String,
|
|
mes: String,
|
|
opts: {
|
|
type: [ Array, Function ],
|
|
"default": function() {}
|
|
}
|
|
}
|
|
};
|
|
}, function(t, e) {
|
|
"use strict";
|
|
Object.defineProperty(e, "__esModule", {
|
|
value: !0
|
|
}), e.default = {
|
|
props: {
|
|
title: String
|
|
}
|
|
};
|
|
}, function(t, e) {
|
|
"use strict";
|
|
Object.defineProperty(e, "__esModule", {
|
|
value: !0
|
|
}), e.default = {
|
|
data: function() {
|
|
return {
|
|
classes: ""
|
|
};
|
|
},
|
|
props: {
|
|
mes: String,
|
|
timeout: Number,
|
|
callback: Function
|
|
}
|
|
};
|
|
}, function(t, e) {
|
|
"use strict";
|
|
Object.defineProperty(e, "__esModule", {
|
|
value: !0
|
|
}), e.default = {
|
|
props: {
|
|
mes: String,
|
|
icon: String,
|
|
timeout: Number,
|
|
callback: Function
|
|
},
|
|
computed: {
|
|
iconsClass: function() {
|
|
var t = "";
|
|
return "success" !== this.icon && "error" !== this.icon || (t = "yd-toast-" + this.icon + "-icon"),
|
|
t;
|
|
}
|
|
}
|
|
};
|
|
}, function(t, e) {
|
|
"use strict";
|
|
Object.defineProperty(e, "__esModule", {
|
|
value: !0
|
|
}), e.default = {
|
|
name: "yd-flexbox-item",
|
|
props: {
|
|
align: {
|
|
validator: function(t) {
|
|
return [ "top", "center", "bottom" ].indexOf(t) > -1;
|
|
},
|
|
"default": "center"
|
|
}
|
|
},
|
|
computed: {
|
|
classes: function() {
|
|
return "top" === this.align ? "yd-flexbox-item-start" : "bottom" === this.align ? "yd-flexbox-item-end" : "yd-flexbox-item-center";
|
|
}
|
|
}
|
|
};
|
|
}, function(t, e) {
|
|
"use strict";
|
|
Object.defineProperty(e, "__esModule", {
|
|
value: !0
|
|
}), e.default = {
|
|
name: "yd-flexbox",
|
|
props: {
|
|
direction: {
|
|
validator: function(t) {
|
|
return [ "horizontal", "vertical" ].indexOf(t) > -1;
|
|
},
|
|
"default": "horizontal"
|
|
}
|
|
}
|
|
};
|
|
}, function(t, e) {
|
|
"use strict";
|
|
Object.defineProperty(e, "__esModule", {
|
|
value: !0
|
|
}), e.default = {
|
|
name: "yd-grids-group",
|
|
props: {
|
|
rows: {
|
|
validator: function(t) {
|
|
return [ "2", "3", "4", "5" ].indexOf(t + "") > -1;
|
|
},
|
|
"default": "4"
|
|
},
|
|
title: String
|
|
},
|
|
computed: {
|
|
classes: function() {
|
|
return "yd-grids-" + this.rows;
|
|
}
|
|
}
|
|
};
|
|
}, function(t, e) {
|
|
"use strict";
|
|
Object.defineProperty(e, "__esModule", {
|
|
value: !0
|
|
}), e.default = {
|
|
name: "yd-grids-item",
|
|
props: {
|
|
link: String
|
|
},
|
|
computed: {
|
|
checkIcon: function() {
|
|
return !!this.$slots.icon;
|
|
},
|
|
checkText: function() {
|
|
return !!this.$slots.text;
|
|
}
|
|
}
|
|
};
|
|
}, function(t, e, n) {
|
|
"use strict";
|
|
Object.defineProperty(e, "__esModule", {
|
|
value: !0
|
|
});
|
|
var i = n(3);
|
|
e.default = {
|
|
name: "yd-icon",
|
|
props: {
|
|
name: String,
|
|
color: {
|
|
validator: function(t) {
|
|
return !t || (0, i.isColor)(t);
|
|
}
|
|
},
|
|
size: {
|
|
validator: function(t) {
|
|
return /^(\.|\d+\.)?\d+(px|rem)$/.test(t);
|
|
},
|
|
"default": ".6rem"
|
|
},
|
|
custom: {
|
|
type: Boolean,
|
|
"default": !1
|
|
}
|
|
},
|
|
computed: {
|
|
classes: function() {
|
|
return this.custom ? "icon-custom-" + this.name : "yd-icon-" + this.name;
|
|
},
|
|
styles: function() {
|
|
var t = {};
|
|
return this.size && (t.fontSize = this.size), this.color && (t.color = this.color),
|
|
t;
|
|
}
|
|
}
|
|
};
|
|
}, function(t, e, n) {
|
|
"use strict";
|
|
function i(t) {
|
|
return t && t.__esModule ? t : {
|
|
"default": t
|
|
};
|
|
}
|
|
Object.defineProperty(e, "__esModule", {
|
|
value: !0
|
|
});
|
|
var r = n(78), s = i(r), o = n(3);
|
|
e.default = {
|
|
name: "yd-infinitescroll",
|
|
components: {
|
|
Loading: s.default
|
|
},
|
|
data: function() {
|
|
return {
|
|
isLoading: !1,
|
|
isDone: !1,
|
|
num: 1
|
|
};
|
|
},
|
|
props: {
|
|
onInfinite: {
|
|
type: Function
|
|
},
|
|
callback: {
|
|
type: Function
|
|
},
|
|
distance: {
|
|
"default": 0,
|
|
validator: function(t) {
|
|
return /^\d*$/.test(t);
|
|
}
|
|
},
|
|
scrollTop: {
|
|
type: Boolean,
|
|
"default": !0
|
|
}
|
|
},
|
|
methods: {
|
|
init: function() {
|
|
var t = this;
|
|
this.scrollview = (0, o.getScrollview)(this.$el), this.scrollTop && (this.scrollview === window ? window.scrollTo(0, 0) : this.scrollview.scrollTop = 0),
|
|
this.scrollview.addEventListener("scroll", this.throttledCheck, !1), this.$on("ydui.infinitescroll.loadedDone", function() {
|
|
t.isLoading = !1, t.isDone = !0;
|
|
}), this.$on("ydui.infinitescroll.finishLoad", function(e) {
|
|
t.isLoading = !1;
|
|
}), this.$on("ydui.infinitescroll.reInit", function() {
|
|
t.isLoading = !1, t.isDone = !1;
|
|
});
|
|
},
|
|
scrollHandler: function() {
|
|
if (!this.isLoading && !this.isDone) {
|
|
var t = this.scrollview, e = document.body.offsetHeight, n = t === window, i = n ? 0 : t.getBoundingClientRect().top, r = n ? e : t.offsetHeight;
|
|
if (!t) return void console.warn("Can't find the scrollview!");
|
|
if (!this.$refs.tag) return void console.warn("Can't find the refs.tag!");
|
|
var s = Math.floor(this.$refs.tag.getBoundingClientRect().top) - 1, o = this.distance && this.distance > 0 ? ~~this.distance : Math.floor(e / 10);
|
|
s > i && s - (o + i) * this.num <= e && this.$el.offsetHeight > r && (this.isLoading = !0,
|
|
this.onInfinite && this.onInfinite(), this.callback && this.callback(), this.num++);
|
|
}
|
|
},
|
|
throttle: function(t, e) {
|
|
clearTimeout(t.tId), t.tId = setTimeout(function() {
|
|
t.call(e);
|
|
}, 30);
|
|
},
|
|
throttledCheck: function() {
|
|
this.throttle(this.scrollHandler);
|
|
}
|
|
},
|
|
mounted: function() {
|
|
this.$nextTick(this.init);
|
|
},
|
|
destroyed: function() {
|
|
this.scrollview.removeEventListener("scroll", this.throttledCheck);
|
|
}
|
|
};
|
|
}, function(t, e) {
|
|
"use strict";
|
|
Object.defineProperty(e, "__esModule", {
|
|
value: !0
|
|
}), e.default = {
|
|
name: "yd-input",
|
|
data: function() {
|
|
return {
|
|
currentValue: this.value,
|
|
isempty: !this.value,
|
|
iserror: !1,
|
|
showPwd: !1,
|
|
showClear: !1,
|
|
showWarn: !0,
|
|
initError: !1,
|
|
valid: !0,
|
|
errorMsg: "",
|
|
errorCode: "",
|
|
regexObj: {
|
|
email: "^\\w+((-\\w+)|(\\.\\w+))*\\@[A-Za-z0-9]+((\\.|-)[A-Za-z0-9]+)*\\.[A-Za-z0-9]+$",
|
|
mobile: "^(86)?1[3,4,5,7,8]\\d{9}$",
|
|
bankcard: "^\\d{15,19}$"
|
|
}
|
|
};
|
|
},
|
|
props: {
|
|
name: String,
|
|
placeholder: String,
|
|
value: [ String, Number ],
|
|
readonly: Boolean,
|
|
disabled: Boolean,
|
|
regex: String,
|
|
autocomplete: {
|
|
type: String,
|
|
"default": "off"
|
|
},
|
|
showClearIcon: {
|
|
type: Boolean,
|
|
"default": !0
|
|
},
|
|
showErrorIcon: {
|
|
type: Boolean,
|
|
"default": !0
|
|
},
|
|
showSuccessIcon: {
|
|
type: Boolean,
|
|
"default": !0
|
|
},
|
|
showRequiredIcon: {
|
|
type: Boolean,
|
|
"default": !0
|
|
},
|
|
required: {
|
|
type: Boolean,
|
|
"default": !1
|
|
},
|
|
type: {
|
|
validator: function(t) {
|
|
return [ "text", "password", "email", "number", "tel", "datetime-local", "date", "time" ].indexOf(t) > -1;
|
|
},
|
|
"default": "text"
|
|
},
|
|
max: {
|
|
validator: function(t) {
|
|
return /^\d*$/.test(t);
|
|
}
|
|
},
|
|
min: {
|
|
validator: function(t) {
|
|
return /^\d*$/.test(t);
|
|
}
|
|
}
|
|
},
|
|
watch: {
|
|
value: function(t) {
|
|
this.currentValue = t, this.emitInput();
|
|
},
|
|
currentValue: function(t) {
|
|
this.isempty = !t, this.validatorInput(t, !0), this.emitInput();
|
|
},
|
|
required: function(t) {
|
|
this.required = t, this.validatorInput(this.currentValue, !1);
|
|
}
|
|
},
|
|
methods: {
|
|
validatorInput: function(t, e) {
|
|
if (this.initError = e, e && (this.showWarn = !1), this.required && "" === t) return this.setError("不能为空", "NOT_NULL"),
|
|
void (this.iserror = !0);
|
|
if (this.min && t.length < this.min) return this.setError("最少输入" + this.min + "位字符", "NOT_MIN_SIZE"),
|
|
void (this.iserror = !0);
|
|
var n = "bankcard" === this.regex ? t.replace(/\s/g, "") : t, i = this.regexObj[this.regex] ? this.regexObj[this.regex] : this.trim(this.regex, "/");
|
|
return n && this.regex && !new RegExp(i).test(n) ? (this.setError("输入字符不符合规则", "NOT_REGEX_RULE"),
|
|
void (this.iserror = !0)) : (this.iserror = !1, this.valid = !0, this.errorMsg = "",
|
|
void (this.errorCode = ""));
|
|
},
|
|
blurHandler: function() {
|
|
var t = this;
|
|
this.validatorInput(this.currentValue, !0), setTimeout(function() {
|
|
t.showClear = !1;
|
|
}, 200);
|
|
},
|
|
clearInput: function() {
|
|
this.currentValue = "", this.emitInput();
|
|
},
|
|
emitInput: function() {
|
|
return "bankcard" === this.regex ? (/\S{5}/.test(this.currentValue) && (this.currentValue = this.currentValue.replace(/\s/g, "").replace(/(\d{4})(?=\d)/g, "$1 ")),
|
|
void this.$emit("input", this.currentValue.replace(/\s/g, ""))) : void this.$emit("input", this.currentValue);
|
|
},
|
|
setError: function(t, e) {
|
|
this.errorMsg = t, this.errorCode = e, this.valid = !1;
|
|
},
|
|
trim: function(t, e) {
|
|
return t ? t.replace(new RegExp("^\\" + e + "+|\\" + e + "+$", "g"), "") : t;
|
|
}
|
|
},
|
|
mounted: function() {
|
|
this.validatorInput(this.currentValue, !1);
|
|
}
|
|
};
|
|
}, function(t, e, n) {
|
|
"use strict";
|
|
Object.defineProperty(e, "__esModule", {
|
|
value: !0
|
|
});
|
|
var i = n(3);
|
|
e.default = {
|
|
name: "yd-keyboard",
|
|
data: function() {
|
|
return {
|
|
nums: "",
|
|
show: this.value,
|
|
error: "",
|
|
numsArr: [ 1, 2, 3, 4, 5, 6, 7, 8, 9, 0 ]
|
|
};
|
|
},
|
|
props: {
|
|
inputDone: {
|
|
type: Function
|
|
},
|
|
callback: {
|
|
type: Function
|
|
},
|
|
disorder: {
|
|
type: Boolean,
|
|
"default": !1
|
|
},
|
|
value: {
|
|
type: Boolean,
|
|
"default": !1
|
|
},
|
|
title: {
|
|
type: String,
|
|
"default": "YDUI安全键盘"
|
|
},
|
|
triggerClose: {
|
|
type: Boolean,
|
|
"default": !0
|
|
}
|
|
},
|
|
watch: {
|
|
value: function(t) {
|
|
i.isIOS && (t ? (i.pageScroll.lock(), (0, i.addClass)(this.scrollView, "g-fix-ios-overflow-scrolling-bug")) : (i.pageScroll.unlock(),
|
|
(0, i.removeClass)(this.scrollView, "g-fix-ios-overflow-scrolling-bug"))), this.nums = "",
|
|
this.error = "", this.show = t, this.show && this.disorder && (this.numsArr = this.upsetOrder(this.numsArr));
|
|
},
|
|
nums: function(t) {
|
|
t.length >= 6 && (this.inputDone && this.inputDone(t), this.callback && this.callback(t));
|
|
}
|
|
},
|
|
methods: {
|
|
init: function() {
|
|
var t = this;
|
|
this.scrollView = (0, i.getScrollview)(this.$el), this.$on("ydui.keyboard.error", function(e) {
|
|
t.setError(e);
|
|
}), this.$on("ydui.keyboard.close", this.close);
|
|
},
|
|
numclick: function(t) {
|
|
this.error = "", this.nums.length >= 6 || (this.nums += t);
|
|
},
|
|
backspace: function() {
|
|
var t = this.nums;
|
|
t && (this.nums = t.substr(0, t.length - 1));
|
|
},
|
|
upsetOrder: function(t) {
|
|
for (var e = Math.floor, n = Math.random, i = t.length, r = void 0, s = void 0, o = void 0, a = e(i / 2) + 1; a--; ) r = e(n() * i),
|
|
s = e(n() * i), r !== s && (o = t[r], t[r] = t[s], t[s] = o);
|
|
return t;
|
|
},
|
|
close: function() {
|
|
i.isIOS && (0, i.removeClass)(this.scrollView, "g-fix-ios-overflow-scrolling-bug"),
|
|
this.$emit("input", !1);
|
|
},
|
|
setError: function(t) {
|
|
this.error = t, this.nums = "";
|
|
}
|
|
},
|
|
created: function() {
|
|
var t = window.navigator && window.navigator.userAgent || "";
|
|
this.isMobile = !!t.match(/AppleWebKit.*Mobile.*/) || "ontouchstart" in document.documentElement,
|
|
this.$nextTick(this.init);
|
|
},
|
|
destroyed: function() {
|
|
this.close(), i.pageScroll.unlock();
|
|
}
|
|
};
|
|
}, function(t, e) {
|
|
"use strict";
|
|
Object.defineProperty(e, "__esModule", {
|
|
value: !0
|
|
}), e.default = {
|
|
name: "yd-layout",
|
|
props: {
|
|
link: String,
|
|
title: String,
|
|
showNavbar: {
|
|
type: Boolean,
|
|
"default": !0
|
|
}
|
|
}
|
|
};
|
|
}, function(t, e, n) {
|
|
"use strict";
|
|
function i(t) {
|
|
return t && t.__esModule ? t : {
|
|
"default": t
|
|
};
|
|
}
|
|
Object.defineProperty(e, "__esModule", {
|
|
value: !0
|
|
});
|
|
var r = n(8), s = i(r), o = n(7), a = i(o);
|
|
e.default = {
|
|
components: {
|
|
slider: s.default,
|
|
sliderItem: a.default
|
|
},
|
|
data: function() {
|
|
return {
|
|
currentIndex: 1,
|
|
index: 1,
|
|
imgItems: [],
|
|
show: !0,
|
|
txtHTML: ""
|
|
};
|
|
},
|
|
methods: {
|
|
close: function() {
|
|
this.$el.parentNode && this.$el.parentNode.removeChild(this.$el);
|
|
},
|
|
changeIndex: function(t) {
|
|
this.currentIndex = t;
|
|
},
|
|
getImgSrc: function(t) {
|
|
return t.getAttribute("original") || t.getAttribute("src");
|
|
}
|
|
}
|
|
};
|
|
}, function(t, e) {
|
|
"use strict";
|
|
Object.defineProperty(e, "__esModule", {
|
|
value: !0
|
|
}), e.default = {
|
|
name: "yd-lightbox-img",
|
|
props: {
|
|
src: String,
|
|
original: String
|
|
}
|
|
};
|
|
}, function(t, e) {
|
|
"use strict";
|
|
Object.defineProperty(e, "__esModule", {
|
|
value: !0
|
|
}), e.default = {
|
|
name: "yd-lightbox-txt"
|
|
};
|
|
}, function(t, e, n) {
|
|
"use strict";
|
|
function i(t) {
|
|
return t && t.__esModule ? t : {
|
|
"default": t
|
|
};
|
|
}
|
|
Object.defineProperty(e, "__esModule", {
|
|
value: !0
|
|
});
|
|
var r = n(5), s = i(r), o = n(82), a = i(o);
|
|
e.default = {
|
|
name: "yd-lightbox",
|
|
data: function() {
|
|
return {
|
|
show: !0,
|
|
tabPanels: [],
|
|
imgItems: []
|
|
};
|
|
},
|
|
props: {
|
|
num: {
|
|
"default": 0,
|
|
validator: function(t) {
|
|
return /^\d*$/.test(t);
|
|
}
|
|
}
|
|
},
|
|
watch: {
|
|
num: function() {
|
|
this.init();
|
|
}
|
|
},
|
|
methods: {
|
|
init: function() {
|
|
var t = this;
|
|
this.$nextTick(function() {
|
|
t.imgItems = [], t.findImgs(t.$children), t.imgItems.forEach(function(e, n) {
|
|
e.bindedEvent || (e.bindedEvent = !0, e.$el.addEventListener("click", function() {
|
|
t.appendDOM(n);
|
|
}, !1));
|
|
});
|
|
});
|
|
},
|
|
findImgs: function(t) {
|
|
var e = this;
|
|
t.forEach(function(t) {
|
|
t && "yd-lightbox-img" === t.$options.name && e.imgItems.push(t), t.$children && e.findImgs(t.$children);
|
|
});
|
|
},
|
|
appendDOM: function(t) {
|
|
var e = s.default.extend(a.default), n = this.$children.filter(function(t) {
|
|
return "yd-lightbox-txt" === t.$options.name;
|
|
});
|
|
t += 1, this.box = new e({
|
|
el: document.createElement("div"),
|
|
data: {
|
|
index: t,
|
|
currentIndex: t,
|
|
imgItems: this.imgItems,
|
|
txtHTML: n[0] && n[0].$el ? n[0].$el.innerHTML : ""
|
|
}
|
|
}), document.body.appendChild(this.box.$el);
|
|
}
|
|
},
|
|
mounted: function() {
|
|
this.$nextTick(this.init);
|
|
},
|
|
beforeDestroy: function() {
|
|
this.box && this.box.close();
|
|
}
|
|
};
|
|
}, function(t, e) {
|
|
"use strict";
|
|
Object.defineProperty(e, "__esModule", {
|
|
value: !0
|
|
}), e.default = {
|
|
name: "yd-list-item",
|
|
props: {
|
|
type: {
|
|
type: String,
|
|
validator: function(t) {
|
|
return [ "link", "a", "div" ].indexOf(t) > -1;
|
|
},
|
|
"default": "a"
|
|
},
|
|
href: [ String, Object ]
|
|
}
|
|
};
|
|
}, function(t, e) {
|
|
"use strict";
|
|
Object.defineProperty(e, "__esModule", {
|
|
value: !0
|
|
}), e.default = {
|
|
name: "yd-list-other"
|
|
};
|
|
}, function(t, e) {
|
|
"use strict";
|
|
Object.defineProperty(e, "__esModule", {
|
|
value: !0
|
|
}), e.default = {
|
|
name: "yd-list",
|
|
props: {
|
|
theme: {
|
|
validator: function(t) {
|
|
return [ "1", "2", "3", "4", "5" ].indexOf(t + "") > -1;
|
|
},
|
|
"default": "1"
|
|
}
|
|
},
|
|
computed: {
|
|
classes: function() {
|
|
return "yd-list-theme" + this.theme;
|
|
}
|
|
}
|
|
};
|
|
}, function(t, e, n) {
|
|
"use strict";
|
|
Object.defineProperty(e, "__esModule", {
|
|
value: !0
|
|
});
|
|
var i = n(3);
|
|
e.default = {
|
|
name: "yd-navbar-back-icon",
|
|
props: {
|
|
color: {
|
|
validator: function(t) {
|
|
return !t || (0, i.isColor)(t);
|
|
},
|
|
"default": "#5C5C5C"
|
|
}
|
|
}
|
|
};
|
|
}, function(t, e, n) {
|
|
"use strict";
|
|
Object.defineProperty(e, "__esModule", {
|
|
value: !0
|
|
});
|
|
var i = n(3);
|
|
e.default = {
|
|
name: "yd-navbar-next-icon",
|
|
props: {
|
|
color: {
|
|
validator: function(t) {
|
|
return !t || (0, i.isColor)(t);
|
|
},
|
|
"default": "#5C5C5C"
|
|
}
|
|
}
|
|
};
|
|
}, function(t, e, n) {
|
|
"use strict";
|
|
Object.defineProperty(e, "__esModule", {
|
|
value: !0
|
|
});
|
|
var i = n(3);
|
|
e.default = {
|
|
name: "yd-navbar",
|
|
props: {
|
|
title: String,
|
|
fixed: Boolean,
|
|
bgcolor: {
|
|
validator: function(t) {
|
|
return !t || (0, i.isColor)(t);
|
|
},
|
|
"default": "#FFF"
|
|
},
|
|
color: {
|
|
validator: function(t) {
|
|
return !t || (0, i.isColor)(t);
|
|
},
|
|
"default": "#5C5C5C"
|
|
},
|
|
fontsize: {
|
|
validator: function(t) {
|
|
return /^(\.|\d+\.)?\d+(px|rem)$/.test(t);
|
|
},
|
|
"default": ".4rem"
|
|
},
|
|
height: {
|
|
validator: function(t) {
|
|
return /^(\.|\d+\.)?\d+(px|rem)$/.test(t);
|
|
},
|
|
"default": "1rem"
|
|
}
|
|
},
|
|
computed: {
|
|
classes: function() {
|
|
return this.fixed ? "yd-navbar-fixed" : "";
|
|
}
|
|
}
|
|
};
|
|
}, function(t, e, n) {
|
|
"use strict";
|
|
Object.defineProperty(e, "__esModule", {
|
|
value: !0
|
|
});
|
|
var i = n(3);
|
|
e.default = {
|
|
name: "yd-popup",
|
|
data: function() {
|
|
return {
|
|
show: this.value
|
|
};
|
|
},
|
|
props: {
|
|
position: {
|
|
validator: function(t) {
|
|
return [ "bottom", "center", "left", "right" ].indexOf(t) > -1;
|
|
},
|
|
"default": "bottom"
|
|
},
|
|
height: {
|
|
type: String,
|
|
"default": "50%"
|
|
},
|
|
width: {
|
|
type: String,
|
|
"default": "50%"
|
|
},
|
|
value: {
|
|
type: Boolean
|
|
}
|
|
},
|
|
watch: {
|
|
value: function(t) {
|
|
if (i.isIOS) {
|
|
var e = this.$refs, n = this.$slots.top && "center" !== this.position ? e.top.offsetHeight : 0, r = this.$slots.bottom && "center" !== this.position ? e.bottom.offsetHeight : 0, s = n + e.content.offsetHeight + r;
|
|
t ? (i.pageScroll.lock(), s > e.box.offsetHeight && e.box.addEventListener("touchmove", this.stopPropagation),
|
|
(0, i.addClass)(this.scrollView, "g-fix-ios-overflow-scrolling-bug")) : (i.pageScroll.unlock(),
|
|
s > e.box.offsetHeight && e.box.removeEventListener("touchmove", this.stopPropagation),
|
|
(0, i.removeClass)(this.scrollView, "g-fix-ios-overflow-scrolling-bug"));
|
|
}
|
|
this.show = t;
|
|
}
|
|
},
|
|
computed: {
|
|
classes: function() {
|
|
return ("center" === this.position ? "yd-popup-center " : "yd-popup yd-popup-" + this.position) + (this.show ? " yd-popup-show " : "");
|
|
}
|
|
},
|
|
methods: {
|
|
stopPropagation: function(t) {
|
|
t.stopPropagation();
|
|
},
|
|
styles: function() {
|
|
return "left" === this.position || "right" === this.position ? {
|
|
width: this.width
|
|
} : "bottom" === this.position ? {
|
|
width: "100%",
|
|
height: this.height
|
|
} : {
|
|
width: this.width
|
|
};
|
|
},
|
|
close: function() {
|
|
i.isIOS && (0, i.removeClass)(this.scrollView, "g-fix-ios-overflow-scrolling-bug"),
|
|
this.show = !1, this.$emit("input", !1);
|
|
}
|
|
},
|
|
mounted: function() {
|
|
this.scrollView = (0, i.getScrollview)(this.$el);
|
|
},
|
|
destroyed: function() {
|
|
i.pageScroll.unlock();
|
|
}
|
|
};
|
|
}, function(t, e, n) {
|
|
"use strict";
|
|
Object.defineProperty(e, "__esModule", {
|
|
value: !0
|
|
});
|
|
var i = n(3);
|
|
e.default = {
|
|
name: "yd-progressbar",
|
|
data: function() {
|
|
return {
|
|
viewBox: "0 0 100 100",
|
|
show: !1,
|
|
stroke: {
|
|
dasharray: "",
|
|
dashoffset: ""
|
|
}
|
|
};
|
|
},
|
|
props: {
|
|
type: {
|
|
validator: function(t) {
|
|
return [ "circle", "line" ].indexOf(t) > -1;
|
|
},
|
|
"default": "circle"
|
|
},
|
|
fillColor: {
|
|
validator: function(t) {
|
|
return !t || (0, i.isColor)(t);
|
|
}
|
|
},
|
|
strokeWidth: {
|
|
validator: function(t) {
|
|
return /^\d*$/.test(t);
|
|
},
|
|
"default": 0
|
|
},
|
|
strokeColor: {
|
|
validator: function(t) {
|
|
return !t || (0, i.isColor)(t);
|
|
},
|
|
"default": "#E5E5E5"
|
|
},
|
|
trailWidth: {
|
|
validator: function(t) {
|
|
return /^\d*$/.test(t);
|
|
},
|
|
"default": 0,
|
|
require: !0
|
|
},
|
|
trailColor: {
|
|
validator: function(t) {
|
|
return !t || (0, i.isColor)(t);
|
|
},
|
|
"default": "#646464"
|
|
},
|
|
progress: {
|
|
validator: function(t) {
|
|
return /^(0(.\d+)?|1(\.0+)?)$/.test(t);
|
|
},
|
|
"default": 0
|
|
}
|
|
},
|
|
methods: {
|
|
init: function() {
|
|
var t = this, e = this.length = this.$refs.trailPath.getTotalLength();
|
|
this.stroke.dashoffset = e, this.stroke.dasharray = e + "," + e, this.scrollview = (0,
|
|
i.getScrollview)(this.$el), this.show = !0, "line" === this.type && (this.viewBox = "0 0 100 " + (this.strokeWidth ? this.strokeWidth : this.trailWidth)),
|
|
this.$nextTick(function() {
|
|
t.scrollHandler();
|
|
}), this.bindEvent();
|
|
},
|
|
scrollHandler: function() {
|
|
(0, i.checkInview)(this.scrollview, this.$el) && (this.stroke.dashoffset = this.length - this.progress * this.length);
|
|
},
|
|
bindEvent: function() {
|
|
this.scrollview.addEventListener("scroll", this.scrollHandler), window.addEventListener("resize", this.scrollHandler);
|
|
},
|
|
unbindEvent: function() {
|
|
this.scrollview.removeEventListener("scroll", this.scrollHandler), window.removeEventListener("resize", this.scrollHandler);
|
|
}
|
|
},
|
|
watch: {
|
|
progress: function(t) {
|
|
this.stroke.dashoffset = this.length - t * this.length;
|
|
}
|
|
},
|
|
computed: {
|
|
getPathString: function() {
|
|
if ("line" === this.type) return "M 0,{R} L 100,{R}".replace(/\{R\}/g, this.trailWidth / 2);
|
|
var t = 50 - (this.strokeWidth ? this.strokeWidth : this.trailWidth) / 2;
|
|
return "M 50,50 m 0,-{R} a {R},{R} 0 1 1 0,{2R} a {R},{R} 0 1 1 0,-{2R}".replace(/\{R\}/g, t).replace(/\{2R\}/g, 2 * t);
|
|
}
|
|
},
|
|
mounted: function() {
|
|
this.init();
|
|
},
|
|
destoryed: function() {
|
|
this.unbindEvent();
|
|
}
|
|
};
|
|
}, function(t, e, n) {
|
|
"use strict";
|
|
Object.defineProperty(e, "__esModule", {
|
|
value: !0
|
|
});
|
|
var i = n(3);
|
|
e.default = {
|
|
name: "yd-pullrefresh",
|
|
props: {
|
|
onInfinite: {
|
|
type: Function
|
|
},
|
|
callback: {
|
|
type: Function
|
|
},
|
|
stopDrag: {
|
|
type: Boolean,
|
|
"default": !1
|
|
}
|
|
},
|
|
data: function() {
|
|
return {
|
|
showHelpTag: !1,
|
|
dragTip: {
|
|
iconOpacity: .5,
|
|
iconRotate: 0,
|
|
loadingIcon: "",
|
|
animationTiming: "",
|
|
scale: 1,
|
|
translate: 0,
|
|
distance: 100
|
|
},
|
|
touches: {
|
|
loading: !1,
|
|
startClientY: 0,
|
|
moveOffset: 0,
|
|
isDraging: !1
|
|
},
|
|
limitSpeed: 0
|
|
};
|
|
},
|
|
methods: {
|
|
init: function() {
|
|
this.offsetTop = this.$refs.dragBox.getBoundingClientRect().top, this.bindEvents(),
|
|
this.$on("ydui.pullrefresh.finishLoad", this.finishLoad), this.showHelp();
|
|
},
|
|
showHelp: function() {
|
|
var t = this, e = "PULLREFRESH-TIP", n = window.localStorage;
|
|
1 != n.getItem(e) && (this.showHelpTag = !0, setTimeout(function() {
|
|
t.showHelpTag = !1;
|
|
}, 5e3)), n.setItem(e, 1);
|
|
},
|
|
bindEvents: function() {
|
|
var t = this.$refs.dragBox;
|
|
t.addEventListener("touchstart", this.touchStartHandler), t.addEventListener("touchmove", this.touchMoveHandler),
|
|
t.addEventListener("touchend", this.touchEndHandler), document.body.addEventListener("touchmove", this.stopDragEvent);
|
|
},
|
|
unbindEvents: function() {
|
|
var t = this.$refs.dragBox;
|
|
t.removeEventListener("touchstart", this.touchStartHandler), t.removeEventListener("touchmove", this.touchMoveHandler),
|
|
t.removeEventListener("touchend", this.touchEndHandler), document.body.removeEventListener("touchmove", this.stopDragEvent);
|
|
},
|
|
stopDragEvent: function(t) {
|
|
this.touches.isDraging && t.preventDefault();
|
|
},
|
|
touchStartHandler: function(t) {
|
|
if (!this.stopDrag) return this.touches.loading ? void t.preventDefault() : void (this.scrollview.scrollTop > 0 || this.$refs.dragBox.getBoundingClientRect().top < this.offsetTop || (this.touches.startClientX = t.touches[0].clientX,
|
|
this.touches.startClientY = t.touches[0].clientY));
|
|
},
|
|
touchMoveHandler: function(t) {
|
|
var e = this.touches;
|
|
if (!this.stopDrag) {
|
|
if (this.touches.loading) return void t.preventDefault();
|
|
if (this.scrollview.scrollTop > 0) return this.dragTip.translate = 0, void this.resetParams();
|
|
var n = t.touches[0].clientY, i = t.touches[0].clientX;
|
|
if (!(e.startClientY > n || this.$refs.dragBox.getBoundingClientRect().top < this.offsetTop)) {
|
|
e.isDraging = !0;
|
|
var r = 180 * Math.atan2(Math.abs(n - e.startClientY), Math.abs(i - e.startClientX)) / Math.PI, s = n - e.startClientY;
|
|
90 - r > 45 || (this.dragTip.iconOpacity = s / 100, s >= this.dragTip.distance && (s = this.dragTip.distance),
|
|
this.dragTip.iconRotate = s / .25, this.limitSpeed += 10, this.limitSpeed < s && (s = this.limitSpeed),
|
|
e.moveOffset = this.dragTip.translate = s);
|
|
}
|
|
}
|
|
},
|
|
touchEndHandler: function(t) {
|
|
if (!this.stopDrag) {
|
|
var e = this.touches;
|
|
if (e.loading) return void t.preventDefault();
|
|
if (this.limitSpeed = 0, !(this.$refs.dragBox.getBoundingClientRect().top < this.offsetTop)) {
|
|
if (this.dragTip.animationTiming = "yd-pullrefresh-animation-timing", e.moveOffset >= this.dragTip.distance) return this.dragTip.translate = this.dragTip.distance / 1.5,
|
|
this.dragTip.loadingIcon = "yd-pullrefresh-loading", void this.triggerLoad();
|
|
this.dragTip.translate = 0, this.resetParams();
|
|
}
|
|
}
|
|
},
|
|
triggerLoad: function() {
|
|
this.touches.loading = !0, this.onInfinite && this.onInfinite(), this.callback && this.callback();
|
|
},
|
|
finishLoad: function() {
|
|
var t = this;
|
|
setTimeout(function() {
|
|
t.dragTip.iconRotate = 0, t.dragTip.scale = 0, t.resetParams();
|
|
}, 200);
|
|
},
|
|
resetParams: function() {
|
|
var t = this;
|
|
setTimeout(function() {
|
|
var e = t.touches, n = t.dragTip;
|
|
e.isDraging = !1, e.loading = !1, e.moveOffset = 0, n.animationTiming = "", n.iconOpacity = .5,
|
|
n.translate = 0, n.scale = 1, n.loadingIcon = "";
|
|
}, 150);
|
|
}
|
|
},
|
|
mounted: function() {
|
|
this.scrollview = (0, i.getScrollview)(this.$el), this.$nextTick(this.init);
|
|
},
|
|
beforeDestroy: function() {
|
|
this.unbindEvents();
|
|
}
|
|
};
|
|
}, function(t, e, n) {
|
|
"use strict";
|
|
Object.defineProperty(e, "__esModule", {
|
|
value: !0
|
|
});
|
|
var i = n(3);
|
|
e.default = {
|
|
name: "yd-radio-group",
|
|
data: function() {
|
|
return {
|
|
currentValue: this.value
|
|
};
|
|
},
|
|
props: {
|
|
value: {
|
|
type: [ String, Number ],
|
|
"default": ""
|
|
},
|
|
color: {
|
|
validator: function(t) {
|
|
return !t || (0, i.isColor)(t);
|
|
},
|
|
"default": "#4CD864"
|
|
},
|
|
size: {
|
|
validator: function(t) {
|
|
return /^([1-9]\d*)$/.test(t);
|
|
},
|
|
"default": 20
|
|
}
|
|
},
|
|
methods: {
|
|
updateValue: function() {
|
|
var t = this.value;
|
|
this.childrens = this.$children.filter(function(t) {
|
|
return "yd-radio" === t.$options.name;
|
|
}), this.childrens && this.childrens.forEach(function(e) {
|
|
e.checked = t == e.val;
|
|
});
|
|
},
|
|
change: function(t) {
|
|
this.currentValue = t, this.updateValue(), this.$emit("input", t);
|
|
}
|
|
},
|
|
watch: {
|
|
value: function() {
|
|
this.updateValue();
|
|
}
|
|
},
|
|
mounted: function() {
|
|
this.$nextTick(this.updateValue);
|
|
}
|
|
};
|
|
}, function(t, e) {
|
|
"use strict";
|
|
Object.defineProperty(e, "__esModule", {
|
|
value: !0
|
|
}), e.default = {
|
|
name: "yd-radio",
|
|
data: function() {
|
|
return {
|
|
checked: !1
|
|
};
|
|
},
|
|
props: {
|
|
val: [ String, Number ],
|
|
disabled: {
|
|
type: Boolean,
|
|
"default": !1
|
|
}
|
|
},
|
|
methods: {
|
|
changeHandler: function(t) {
|
|
this.disabled || (this.checked = t.target.checked, this.$parent.change(this.val));
|
|
},
|
|
styles: function(t) {
|
|
return {
|
|
width: this.$parent.size / t + "px",
|
|
height: this.$parent.size / t + "px"
|
|
};
|
|
}
|
|
}
|
|
};
|
|
}, function(t, e, n) {
|
|
"use strict";
|
|
Object.defineProperty(e, "__esModule", {
|
|
value: !0
|
|
});
|
|
var i = n(3);
|
|
e.default = {
|
|
name: "yd-rate",
|
|
data: function() {
|
|
return {
|
|
index: 0,
|
|
str: ""
|
|
};
|
|
},
|
|
watch: {
|
|
value: function(t) {
|
|
this.choose(t);
|
|
}
|
|
},
|
|
props: {
|
|
count: {
|
|
validator: function(t) {
|
|
return /^(([1-9]\d*)|0)$/.test(t);
|
|
},
|
|
"default": 5
|
|
},
|
|
size: {
|
|
validator: function(t) {
|
|
return /^(\.|\d+\.)?\d+(px|rem)$/.test(t);
|
|
},
|
|
"default": ".5rem"
|
|
},
|
|
color: {
|
|
validator: function(t) {
|
|
return !t || (0, i.isColor)(t);
|
|
},
|
|
"default": "#CCC"
|
|
},
|
|
activeColor: {
|
|
validator: function(t) {
|
|
return !t || (0, i.isColor)(t);
|
|
},
|
|
"default": "#FF5D50"
|
|
},
|
|
value: {
|
|
validator: function(t) {
|
|
return /^(([1-9]\d*)|0)$/.test(t);
|
|
}
|
|
},
|
|
showText: {
|
|
type: Array
|
|
},
|
|
readonly: {
|
|
type: Boolean,
|
|
"default": !1
|
|
},
|
|
padding: {
|
|
validator: function(t) {
|
|
return /^(\.|\d+\.)?\d+(px|rem)$/.test(t);
|
|
},
|
|
"default": ".06rem"
|
|
}
|
|
},
|
|
methods: {
|
|
choose: function(t) {
|
|
this.index = t, this.$emit("input", t), this.showText && (this.str = (this.showText[t - 1] || "").replace("$", t));
|
|
}
|
|
},
|
|
mounted: function() {
|
|
var t = this;
|
|
this.$nextTick(function() {
|
|
t.choose(t.value);
|
|
});
|
|
}
|
|
};
|
|
}, function(t, e) {
|
|
"use strict";
|
|
Object.defineProperty(e, "__esModule", {
|
|
value: !0
|
|
}), e.default = {
|
|
name: "yd-rollnotice-item",
|
|
mounted: function() {
|
|
this.$parent.init();
|
|
}
|
|
};
|
|
}, function(t, e) {
|
|
"use strict";
|
|
Object.defineProperty(e, "__esModule", {
|
|
value: !0
|
|
}), e.default = {
|
|
name: "yd-rollnotice",
|
|
data: function() {
|
|
return {
|
|
timer: null,
|
|
index: 1,
|
|
totalNum: 0,
|
|
firtstItem: "",
|
|
lastItem: "",
|
|
styles: {
|
|
transform: 0,
|
|
transitionDuration: 0
|
|
}
|
|
};
|
|
},
|
|
props: {
|
|
height: {
|
|
validator: function(t) {
|
|
return /^\d*$/.test(t);
|
|
},
|
|
"default": 30
|
|
},
|
|
speed: {
|
|
validator: function(t) {
|
|
return /^\d*$/.test(t);
|
|
},
|
|
"default": 500
|
|
},
|
|
autoplay: {
|
|
validator: function(t) {
|
|
return /^\d*$/.test(t);
|
|
},
|
|
"default": 3e3
|
|
},
|
|
align: {
|
|
validator: function(t) {
|
|
return [ "left", "center", "right" ].indexOf(t) > -1;
|
|
},
|
|
"default": "left"
|
|
},
|
|
direction: {
|
|
validator: function(t) {
|
|
return [ "up", "down" ].indexOf(t) > -1;
|
|
},
|
|
"default": "up"
|
|
}
|
|
},
|
|
methods: {
|
|
init: function() {
|
|
this.destroy(), this.items = this.$children.filter(function(t) {
|
|
return "yd-rollnotice-item" === t.$options.name;
|
|
}), this.totalNum = this.items.length, this.totalNum <= 0 || (this.firtstItem = this.items[0].$el.innerHTML,
|
|
this.lastItem = this.items[this.totalNum - 1].$el.innerHTML, this.setTranslate(0, -this.height),
|
|
this.autoPlay());
|
|
},
|
|
autoPlay: function() {
|
|
var t = this;
|
|
this.timer = setInterval(function() {
|
|
"up" === t.direction ? (t.setTranslate(t.speed, -(++t.index * t.height)), t.index >= t.totalNum && (t.index = 0,
|
|
setTimeout(function() {
|
|
t.setTranslate(0, 0);
|
|
}, t.speed))) : (t.setTranslate(t.speed, -(--t.index * t.height)), t.index <= 0 && (t.index = t.totalNum,
|
|
setTimeout(function() {
|
|
t.setTranslate(0, -t.totalNum * t.height);
|
|
}, t.speed)));
|
|
}, this.autoplay);
|
|
},
|
|
setTranslate: function(t, e) {
|
|
this.styles.transitionDuration = t + "ms", this.styles.transform = "translate3d(0, " + e + "px, 0)";
|
|
},
|
|
destroy: function() {
|
|
clearInterval(this.timer);
|
|
}
|
|
},
|
|
destroyed: function() {
|
|
this.destroy();
|
|
}
|
|
};
|
|
}, function(t, e) {
|
|
"use strict";
|
|
Object.defineProperty(e, "__esModule", {
|
|
value: !0
|
|
}), e.default = {
|
|
name: "yd-scrolltab-panel",
|
|
props: {
|
|
label: String,
|
|
icon: String,
|
|
active: Boolean
|
|
},
|
|
mounted: function() {
|
|
this.$parent.addItem({
|
|
label: this.label,
|
|
icon: this.icon,
|
|
_uid: this._uid
|
|
});
|
|
}
|
|
};
|
|
}, function(t, e) {
|
|
"use strict";
|
|
Object.defineProperty(e, "__esModule", {
|
|
value: !0
|
|
}), e.default = {
|
|
name: "yd-scrolltab",
|
|
data: function() {
|
|
return {
|
|
scrolling: !1,
|
|
navList: [],
|
|
activeIndex: 0,
|
|
timer: null
|
|
};
|
|
},
|
|
methods: {
|
|
init: function() {
|
|
this.scrollView = this.$refs.scrollView, this.contentOffsetTop = this.scrollView.getBoundingClientRect().top,
|
|
this.bindEvent();
|
|
},
|
|
addItem: function(t) {
|
|
this.navList.push(t);
|
|
},
|
|
getPanels: function() {
|
|
return this.$children.filter(function(t) {
|
|
return "yd-scrolltab-panel" === t.$options.name;
|
|
});
|
|
},
|
|
bindEvent: function() {
|
|
this.scrollView.addEventListener("scroll", this.scrollHandler), window.addEventListener("resize", this.scrollHandler);
|
|
},
|
|
setDefault: function() {
|
|
var t = this, e = this.getPanels(), n = 0;
|
|
e.forEach(function(i) {
|
|
i.active ? (t.activeIndex = i._uid, t.moveHandler(i._uid)) : (++n, n >= e.length && (t.activeIndex = e[0]._uid));
|
|
});
|
|
},
|
|
moveHandler: function(t) {
|
|
var e = this;
|
|
if (!this.scrolling) {
|
|
this.scrolling = !0;
|
|
var n = this.getPanels(), i = n.filter(function(e) {
|
|
return e._uid == t;
|
|
})[0].$el.getBoundingClientRect().top;
|
|
this.scrollView.scrollTop = i + this.scrollView.scrollTop - this.contentOffsetTop + 2,
|
|
this.activeIndex = t, setTimeout(function() {
|
|
e.scrolling = !1;
|
|
}, 6);
|
|
}
|
|
},
|
|
scrollHandler: function() {
|
|
var t = this;
|
|
if (!this.scrolling) {
|
|
var e = this.getPanels(), n = e.length, i = this.scrollView, r = i.offsetHeight, s = i.scrollTop, o = e[0].$el.offsetHeight;
|
|
return s >= o * n - r ? void (this.activeIndex = e[n - 1]._uid) : void e.forEach(function(e) {
|
|
e.$el.getBoundingClientRect().top <= t.contentOffsetTop && (t.activeIndex = e._uid);
|
|
});
|
|
}
|
|
}
|
|
},
|
|
watch: {
|
|
navList: function() {
|
|
this.setDefault();
|
|
}
|
|
},
|
|
mounted: function() {
|
|
this.init();
|
|
},
|
|
destroyed: function() {
|
|
this.scrollView.removeEventListener("scroll", this.scrollHandler), window.removeEventListener("resize", this.scrollHandler);
|
|
}
|
|
};
|
|
}, function(t, e, n) {
|
|
"use strict";
|
|
function i(t) {
|
|
return t && t.__esModule ? t : {
|
|
"default": t
|
|
};
|
|
}
|
|
Object.defineProperty(e, "__esModule", {
|
|
value: !0
|
|
});
|
|
var r = n(6), s = i(r);
|
|
e.default = {
|
|
name: "yd-sendcode",
|
|
"extends": s.default,
|
|
components: {
|
|
"yd-sendcode-button": s.default
|
|
},
|
|
data: function() {
|
|
return {
|
|
tmpStr: "获取短信验证码",
|
|
timer: null,
|
|
start: !1,
|
|
runSecond: this.second
|
|
};
|
|
},
|
|
props: {
|
|
initStr: String,
|
|
second: {
|
|
"default": 60,
|
|
validator: function(t) {
|
|
return /^\d*$/.test(t);
|
|
}
|
|
},
|
|
runStr: {
|
|
type: String,
|
|
"default": "{%s}秒后重新获取"
|
|
},
|
|
resetStr: {
|
|
type: String,
|
|
"default": "重新获取验证码"
|
|
},
|
|
value: {
|
|
type: Boolean,
|
|
"default": !1
|
|
},
|
|
storageKey: {
|
|
type: String
|
|
}
|
|
},
|
|
methods: {
|
|
run: function(t) {
|
|
var e = this, n = t ? t : this.runSecond;
|
|
if (this.storageKey) {
|
|
var i = new Date().getTime() + 1e3 * n;
|
|
window.sessionStorage.setItem(this.storageKey, i);
|
|
}
|
|
t || (this.tmpStr = this.getStr(n)), this.timer = setInterval(function() {
|
|
n--, e.tmpStr = e.getStr(n), n <= 0 && e.stop();
|
|
}, 1e3);
|
|
},
|
|
stop: function() {
|
|
this.tmpStr = this.resetStr, this.start = !1, this.$emit("input", !1), clearInterval(this.timer);
|
|
},
|
|
getStr: function(t) {
|
|
return this.runStr.replace(/\{([^{]*?)%s(.*?)\}/g, t);
|
|
}
|
|
},
|
|
watch: {
|
|
value: function(t) {
|
|
this.start = t, t && this.run();
|
|
}
|
|
},
|
|
created: function() {
|
|
var t = ~~((window.sessionStorage.getItem(this.storageKey) - new Date().getTime()) / 1e3);
|
|
t > 0 && this.storageKey ? (this.tmpStr = this.getStr(t), this.start = !0, this.run(t)) : this.initStr && (this.tmpStr = this.initStr);
|
|
},
|
|
destroyed: function() {
|
|
!this.storageKey && this.stop();
|
|
}
|
|
};
|
|
}, function(t, e) {
|
|
"use strict";
|
|
Object.defineProperty(e, "__esModule", {
|
|
value: !0
|
|
}), e.default = {
|
|
name: "yd-slider-item",
|
|
mounted: function() {
|
|
this.$nextTick(this.$parent.init);
|
|
}
|
|
};
|
|
}, function(t, e) {
|
|
"use strict";
|
|
Object.defineProperty(e, "__esModule", {
|
|
value: !0
|
|
}), e.default = {
|
|
name: "yd-slider",
|
|
data: function() {
|
|
return {
|
|
firtstItem: "",
|
|
lastItem: "",
|
|
currentIndex: ~~this.index,
|
|
itemNums: 0,
|
|
itemsArr: [],
|
|
autoPlayTimer: null,
|
|
paginationIndex: 0,
|
|
itemHeight: {
|
|
height: null
|
|
},
|
|
dragStyleObject: {
|
|
transform: 0,
|
|
speed: 0
|
|
},
|
|
touches: {
|
|
moveTag: 0,
|
|
moveOffset: 0,
|
|
touchStartTime: 0,
|
|
isTouchEvent: !1,
|
|
allowClick: !1,
|
|
isDraging: !1
|
|
}
|
|
};
|
|
},
|
|
props: {
|
|
index: {
|
|
"default": 1,
|
|
validator: function(t) {
|
|
return /^\d*$/.test(t);
|
|
}
|
|
},
|
|
speed: {
|
|
"default": 300,
|
|
validator: function(t) {
|
|
return /^\d*$/.test(t);
|
|
}
|
|
},
|
|
autoplay: {
|
|
"default": 0,
|
|
validator: function(t) {
|
|
return /^\d*$/.test(t);
|
|
}
|
|
},
|
|
direction: {
|
|
validator: function(t) {
|
|
return [ "horizontal", "vertical" ].indexOf(t) > -1;
|
|
},
|
|
"default": "horizontal"
|
|
},
|
|
showPagination: {
|
|
type: Boolean,
|
|
"default": !0
|
|
},
|
|
callback: {
|
|
type: Function
|
|
}
|
|
},
|
|
watch: {
|
|
index: function(t) {
|
|
t = ~~t, t > this.itemNums && (t = this.itemNums), this.currentIndex = t, this.showItem(t);
|
|
},
|
|
currentIndex: function(t) {
|
|
var e = this.itemNums, n = (t - 1) % e;
|
|
this.paginationIndex = n < 0 ? e - 1 : n;
|
|
}
|
|
},
|
|
methods: {
|
|
init: function() {
|
|
this.destroy(), this.isVertical = "vertical" === this.direction, this.itemsArr = this.$children.filter(function(t) {
|
|
return "yd-slider-item" === t.$options.name;
|
|
}), this.itemNums = this.itemsArr.length, this.cloneItem(), this.showItem(this.currentIndex),
|
|
this.bindEvents(), this.autoPlay();
|
|
},
|
|
showItem: function(t) {
|
|
if (this.isVertical) {
|
|
this.$refs.slider.style.height = "100%";
|
|
var e = this.$el.clientHeight;
|
|
this.itemHeight.height = e + "px", this.setTranslate(0, -e * t), this.itemsArr.forEach(function(t) {
|
|
t.$el.style.height = e + "px";
|
|
});
|
|
} else this.setTranslate(0, -this.$refs.warpper.offsetWidth * t);
|
|
},
|
|
cloneItem: function() {
|
|
if (!(this.itemsArr.length <= 1)) {
|
|
var t = this.itemsArr;
|
|
this.firtstItem = t[0].$el.innerHTML, this.lastItem = t[t.length - 1].$el.innerHTML;
|
|
}
|
|
},
|
|
touchStartHandler: function(t) {
|
|
var e = this.touches;
|
|
if (e.allowClick = !0, e.isTouchEvent = "touchstart" === t.type, (e.isTouchEvent || !("which" in t) || 3 !== t.which) && 0 === e.moveTag) {
|
|
e.moveTag = 1, e.startX = t.touches ? t.touches[0].clientX : t.clientX, e.startY = t.touches ? t.touches[0].clientY : t.clientY,
|
|
e.touchStartTime = Date.now();
|
|
var n = this.itemNums;
|
|
if (0 === this.currentIndex) return this.currentIndex = n, void this.setTranslate(0, -n * (this.isVertical ? this.$el.clientHeight : this.$refs.warpper.offsetWidth));
|
|
this.currentIndex > n && (this.currentIndex = 1, this.setTranslate(0, this.isVertical ? -this.$el.clientHeight : -this.$refs.warpper.offsetWidth));
|
|
}
|
|
},
|
|
touchMoveHandler: function(t) {
|
|
this.supportTouch && !this.isVertical || t.preventDefault();
|
|
var e = this.touches;
|
|
if (e.allowClick = !1, !e.isTouchEvent || "mousemove" !== t.type) {
|
|
var n = t.touches ? t.touches[0].clientY : t.clientY, i = t.touches ? t.touches[0].clientX : t.clientX, r = 180 * Math.atan2(Math.abs(n - e.startY), Math.abs(i - e.startX)) / Math.PI;
|
|
if ((this.isVertical ? 90 - r > 45 : r > 45) && this.supportTouch) return e.moveTag = 3,
|
|
this.stopAutoplay(), void this.setTranslate(0, -this.currentIndex * (this.isVertical ? this.$el.clientHeight : this.$refs.warpper.offsetWidth));
|
|
e.isDraging = !0;
|
|
var s = e.moveOffset = this.isVertical ? n - e.startY : i - e.startX;
|
|
0 !== s && 0 !== e.moveTag && (1 === e.moveTag && (this.stopAutoplay(), e.moveTag = 2),
|
|
2 === e.moveTag && this.setTranslate(0, -this.currentIndex * (this.isVertical ? this.$el.clientHeight : this.$refs.warpper.offsetWidth) + s));
|
|
}
|
|
},
|
|
touchEndHandler: function() {
|
|
var t = this.touches, e = t.moveOffset, n = this.isVertical ? this.$el.clientHeight : this.$refs.warpper.offsetWidth;
|
|
if (1 === t.moveTag && (t.moveTag = 0), setTimeout(function() {
|
|
t.allowClick = !0, t.isDraging = !1;
|
|
}, this.speed), 2 === t.moveTag) {
|
|
t.moveTag = 0;
|
|
var i = Date.now() - t.touchStartTime;
|
|
if (i > 300 && Math.abs(e) <= .5 * n || this.itemsArr.length <= 1) this.setTranslate(this.speed, -this.currentIndex * n); else {
|
|
this.setTranslate(this.speed, -((e > 0 ? --this.currentIndex : ++this.currentIndex) * n));
|
|
var r = this.currentIndex % this.itemNums;
|
|
this.callback && this.callback(0 === r ? this.itemNums : r);
|
|
}
|
|
return void this.autoPlay();
|
|
}
|
|
3 === t.moveTag && (t.moveTag = 0, this.autoPlay());
|
|
},
|
|
autoPlay: function() {
|
|
var t = this;
|
|
this.autoplay <= 0 || this.itemsArr.length <= 1 || (this.autoPlayTimer = setInterval(function() {
|
|
var e = t.isVertical ? t.$el.clientHeight : t.$refs.warpper.offsetWidth;
|
|
return t.currentIndex > t.itemNums ? (t.currentIndex = 1, t.setTranslate(0, -e),
|
|
void setTimeout(function() {
|
|
t.setTranslate(t.speed, -(++t.currentIndex * e));
|
|
}, 100)) : void t.setTranslate(t.speed, -(++t.currentIndex * e));
|
|
}, this.autoplay));
|
|
},
|
|
stopAutoplay: function() {
|
|
clearInterval(this.autoPlayTimer);
|
|
},
|
|
stopDrag: function(t) {
|
|
this.touches.isDraging && t.preventDefault();
|
|
},
|
|
bindEvents: function() {
|
|
var t = this;
|
|
this.$el.addEventListener("touchstart", this.touchStartHandler), this.$el.addEventListener("touchmove", this.touchMoveHandler),
|
|
this.$el.addEventListener("touchend", this.touchEndHandler), this.$el.addEventListener("click", function(e) {
|
|
t.touches.allowClick || e.preventDefault();
|
|
}), window.addEventListener("resize", this.resizeSlides), document.body.addEventListener("touchmove", this.stopDrag);
|
|
},
|
|
unbindEvents: function() {
|
|
this.$el.removeEventListener("touchstart", this.touchStartHandler), this.$el.removeEventListener("touchmove", this.touchMoveHandler),
|
|
this.$el.removeEventListener("touchend", this.touchEndHandler), window.removeEventListener("resize", this.resizeSlides),
|
|
document.body.removeEventListener("touchmove", this.stopDrag);
|
|
},
|
|
setTranslate: function(t, e) {
|
|
this.dragStyleObject.transitionDuration = t + "ms", this.isVertical ? this.dragStyleObject.transform = "translate3d(0, " + e + "px, 0)" : this.dragStyleObject.transform = "translate3d(" + e + "px, 0, 0)";
|
|
},
|
|
resizeSlides: function() {
|
|
if (this.isVertical) {
|
|
var t = this.$el.clientHeight;
|
|
this.dragStyleObject.transform = "translate3d(0, " + -this.currentIndex * t + "px, 0)";
|
|
} else {
|
|
var e = this.$refs.warpper.offsetWidth;
|
|
this.dragStyleObject.transform = "translate3d(" + -this.currentIndex * e + "px, 0, 0)";
|
|
}
|
|
},
|
|
destroy: function() {
|
|
this.unbindEvents(), this.stopAutoplay();
|
|
}
|
|
},
|
|
mounted: function() {
|
|
this.supportTouch = window.Modernizr && !!window.Modernizr.touch || function() {
|
|
return !!("ontouchstart" in window || window.DocumentTouch && document instanceof DocumentTouch);
|
|
}();
|
|
},
|
|
destroyed: function() {
|
|
this.destroy();
|
|
}
|
|
};
|
|
}, function(t, e) {
|
|
"use strict";
|
|
Object.defineProperty(e, "__esModule", {
|
|
value: !0
|
|
}), e.default = {
|
|
name: "yd-spinner",
|
|
data: function() {
|
|
return {
|
|
counter: 0,
|
|
tapParams: {
|
|
timer: null,
|
|
tapStartTime: 0
|
|
},
|
|
parms: {
|
|
max: 0,
|
|
min: -1
|
|
}
|
|
};
|
|
},
|
|
watch: {
|
|
value: function() {
|
|
this.setDefalutValue();
|
|
}
|
|
},
|
|
props: {
|
|
unit: {
|
|
"default": 1,
|
|
validator: function(t) {
|
|
return /^([1-9]\d*)$/.test(t);
|
|
}
|
|
},
|
|
max: {
|
|
"default": 0,
|
|
validator: function(t) {
|
|
return /^(([1-9]\d*)|0)$/.test(t);
|
|
}
|
|
},
|
|
min: {
|
|
"default": -1,
|
|
validator: function(t) {
|
|
return /^((-?([1-9]\d*))|0)$/.test(t);
|
|
}
|
|
},
|
|
longpress: {
|
|
type: Boolean,
|
|
"default": !0
|
|
},
|
|
readonly: {
|
|
type: Boolean,
|
|
"default": !1
|
|
},
|
|
value: {
|
|
validator: function(t) {
|
|
return /^(([1-9]\d*)|0)$/.test(t);
|
|
}
|
|
},
|
|
width: {
|
|
validator: function(t) {
|
|
return /^(\.|\d+\.)?\d+(px|rem)$/.test(t);
|
|
},
|
|
"default": "2rem"
|
|
},
|
|
height: {
|
|
validator: function(t) {
|
|
return /^(\.|\d+\.)?\d+(px|rem)$/.test(t);
|
|
},
|
|
"default": ".6rem"
|
|
}
|
|
},
|
|
methods: {
|
|
init: function() {
|
|
this.checkParameters() && (this.setDefalutValue(), this.bindEvents());
|
|
},
|
|
checkParameters: function() {
|
|
var t = ~~this.max, e = ~~this.unit, n = ~~this.min;
|
|
return t < e && 0 != t ? (console.error("[YDUI warn]: The parameter 'max'(" + t + ") must be greater than or equal to 'unit'(" + e + ")."),
|
|
!1) : t % e != 0 ? (console.error("[YDUI warn]: The parameter 'max'(" + t + ") and 'unit'(" + e + ") must be multiple."),
|
|
!1) : n % e != 0 && n >= 0 ? (console.error("[YDUI warn]: The parameter 'min'(" + n + ") and 'unit'(" + e + ") must be multiple."),
|
|
!1) : !(t < n && 0 != t) || (console.error("[YDUI warn]: The parameter 'max'(" + t + ") must be greater than to 'min'(" + n + ")."),
|
|
!1);
|
|
},
|
|
setDefalutValue: function() {
|
|
var t = ~~this.unit, e = ~~this.min, n = ~~this.value;
|
|
return ~~n > 0 ? void this.setValue(n) : void this.setValue(e < 0 ? t : e);
|
|
},
|
|
calculation: function(t) {
|
|
var e = ~~this.max, n = ~~this.min < 0 ? ~~this.unit : ~~this.min, i = ~~this.unit;
|
|
if (!this.readonly) {
|
|
var r = ~~this.counter, s = void 0;
|
|
if ("add" == t) {
|
|
if (s = r + i, 0 != e && s > e) return;
|
|
} else if (s = r - i, s < n) return;
|
|
this.setValue(s), this.longpress && this.longpressHandler(t);
|
|
}
|
|
},
|
|
setValue: function(t) {
|
|
var e = ~~this.max, n = ~~this.min < 0 ? ~~this.unit : ~~this.min, i = ~~this.unit;
|
|
/^(([1-9]\d*)|0)$/.test(t) || (t = i), t > e && 0 != e && (t = e), t % i > 0 && (t = t - t % i + i,
|
|
t > e && 0 != e && (t -= i)), t < n && (t = n - n % i), this.counter = t, this.$emit("input", t);
|
|
},
|
|
longpressHandler: function(t) {
|
|
var e = this, n = new Date().getTime() / 1e3, i = n - this.tapParams.tapStartTime;
|
|
i < 1 && (i = .5);
|
|
var r = 10 * i;
|
|
30 == i && (r = 50), i >= 40 && (r = 100), this.tapParams.timer = setTimeout(function() {
|
|
e.calculation(t);
|
|
}, 1e3 / r);
|
|
},
|
|
clearTapTimer: function() {
|
|
clearTimeout(this.tapParams.timer);
|
|
},
|
|
bindEvents: function() {
|
|
var t = this, e = this.$refs.add, n = this.$refs.minus, i = {
|
|
mousedownEvent: "touchstart",
|
|
mouseupEvent: "touchend"
|
|
}, r = window.Modernizr && !!window.Modernizr.touch || function() {
|
|
return !!("ontouchstart" in window || window.DocumentTouch && document instanceof DocumentTouch);
|
|
}();
|
|
r || (i.mousedownEvent = "mousedown", i.mouseupEvent = "mouseup"), e.addEventListener(i.mousedownEvent, function(n) {
|
|
t.longpress && (n.preventDefault(), n.stopPropagation(), t.tapParams.tapStartTime = new Date().getTime() / 1e3,
|
|
e.addEventListener(i.mouseupEvent, t.clearTapTimer)), t.calculation("add");
|
|
}), n.addEventListener(i.mousedownEvent, function(e) {
|
|
t.longpress && (e.preventDefault(), e.stopPropagation(), t.tapParams.tapStartTime = new Date().getTime() / 1e3,
|
|
n.addEventListener(i.mouseupEvent, t.clearTapTimer)), t.calculation("minus");
|
|
}), this.$refs.numInput.addEventListener("change", function() {
|
|
t.setValue(~~t.counter);
|
|
});
|
|
}
|
|
},
|
|
mounted: function() {
|
|
this.$nextTick(this.init);
|
|
}
|
|
};
|
|
}, function(t, e) {
|
|
"use strict";
|
|
Object.defineProperty(e, "__esModule", {
|
|
value: !0
|
|
}), e.default = {
|
|
name: "yd-step-item",
|
|
data: function() {
|
|
return {
|
|
stepNumber: "",
|
|
current: "",
|
|
theme: "",
|
|
currentClass: ""
|
|
};
|
|
},
|
|
methods: {
|
|
setCurrentClass: function() {
|
|
return 2 == this.theme ? void (this.currentClass = this.stepNumber == this.current ? "yd-step-item-current" : "") : void (this.currentClass = this.stepNumber <= this.current ? "yd-step-item-current" : "");
|
|
}
|
|
},
|
|
mounted: function() {
|
|
this.$nextTick(this.$parent.updateChildStatus);
|
|
}
|
|
};
|
|
}, function(t, e, n) {
|
|
"use strict";
|
|
Object.defineProperty(e, "__esModule", {
|
|
value: !0
|
|
});
|
|
var i = n(3);
|
|
e.default = {
|
|
name: "yd-step",
|
|
data: function() {
|
|
return {
|
|
hasTop: !1,
|
|
hasBottom: !1
|
|
};
|
|
},
|
|
props: {
|
|
theme: {
|
|
validator: function(t) {
|
|
return [ "1", "2" ].indexOf(t) > -1;
|
|
},
|
|
"default": "1"
|
|
},
|
|
current: {
|
|
validator: function(t) {
|
|
return /^\d*$/.test(t);
|
|
},
|
|
"default": 0
|
|
},
|
|
currentColor: {
|
|
validator: function(t) {
|
|
return (0, i.isColor)(t);
|
|
},
|
|
"default": "#0DB78A"
|
|
}
|
|
},
|
|
methods: {
|
|
updateChildStatus: function(t) {
|
|
var e = this, n = this.$children.filter(function(t) {
|
|
return "yd-step-item" === t.$options.name;
|
|
});
|
|
n.forEach(function(i, r) {
|
|
i.stepNumber = r + 1, r + 1 === n.length && e.current >= i.stepNumber ? i.current = i.stepNumber : i.current = e.current,
|
|
i.theme = e.theme, i.$slots.bottom && (e.hasBottom = !0), i.$slots.top && (e.hasTop = !0),
|
|
i.loaded && !t || (i.setCurrentClass(), i.loaded = !0);
|
|
});
|
|
}
|
|
},
|
|
watch: {
|
|
current: function() {
|
|
var t = this;
|
|
this.$nextTick(function() {
|
|
t.updateChildStatus(!0);
|
|
});
|
|
}
|
|
}
|
|
};
|
|
}, function(t, e, n) {
|
|
"use strict";
|
|
Object.defineProperty(e, "__esModule", {
|
|
value: !0
|
|
});
|
|
var i = n(3);
|
|
e.default = {
|
|
name: "yd-switch",
|
|
data: function() {
|
|
return {
|
|
checked: this.value
|
|
};
|
|
},
|
|
props: {
|
|
value: Boolean,
|
|
disabled: {
|
|
type: Boolean,
|
|
"default": !1
|
|
},
|
|
color: {
|
|
validator: function(t) {
|
|
return !t || (0, i.isColor)(t);
|
|
},
|
|
"default": "#4CD864"
|
|
}
|
|
},
|
|
watch: {
|
|
checked: function(t) {
|
|
this.$emit("input", t);
|
|
},
|
|
value: function(t) {
|
|
this.checked = t;
|
|
}
|
|
}
|
|
};
|
|
}, function(t, e) {
|
|
"use strict";
|
|
Object.defineProperty(e, "__esModule", {
|
|
value: !0
|
|
}), e.default = {
|
|
name: "yd-tab-panel",
|
|
props: {
|
|
label: String,
|
|
active: Boolean,
|
|
tabkey: [ String, Number ]
|
|
},
|
|
computed: {
|
|
classes: function() {
|
|
return this.$parent.activeIndex == this._uid ? "yd-tab-active" : "";
|
|
}
|
|
},
|
|
watch: {
|
|
active: function() {
|
|
this.$parent.init(!0);
|
|
},
|
|
label: function() {
|
|
this.$parent.init("label");
|
|
}
|
|
}
|
|
};
|
|
}, function(t, e) {
|
|
"use strict";
|
|
Object.defineProperty(e, "__esModule", {
|
|
value: !0
|
|
}), e.default = {
|
|
name: "yd-tab",
|
|
data: function() {
|
|
return {
|
|
navList: [],
|
|
activeIndex: 0,
|
|
tmpIndex: 0
|
|
};
|
|
},
|
|
props: {
|
|
change: Function,
|
|
callback: Function
|
|
},
|
|
methods: {
|
|
init: function(t) {
|
|
var e = this, n = this.$children.filter(function(t) {
|
|
return "yd-tab-panel" === t.$options.name;
|
|
}), i = 0;
|
|
n.forEach(function(r, s) {
|
|
return "label" === t ? e.navList[s] = r : (t || e.navList.push({
|
|
label: r.label,
|
|
_uid: r._uid,
|
|
tabkey: r.tabkey
|
|
}), void (r.active ? (e.activeIndex = e.tmpIndex = r._uid, e.emitChange(r.label, r.tabkey)) : (++i,
|
|
i >= n.length && (e.activeIndex = e.tmpIndex = n[0]._uid, e.emitChange(n[0].label, n[0].tabkey)))));
|
|
});
|
|
},
|
|
emitChange: function(t, e) {
|
|
this.change && this.change(t, e), this.callback && this.callback(t, e);
|
|
},
|
|
changeHandler: function(t, e, n) {
|
|
this.tmpIndex != t && (this.activeIndex = this.tmpIndex = t, this.emitChange(e, n));
|
|
}
|
|
},
|
|
mounted: function() {
|
|
this.init(!1);
|
|
}
|
|
};
|
|
}, function(t, e, n) {
|
|
"use strict";
|
|
Object.defineProperty(e, "__esModule", {
|
|
value: !0
|
|
});
|
|
n(3);
|
|
e.default = {
|
|
name: "yd-tabbar-item",
|
|
props: {
|
|
link: [ String, Object ],
|
|
title: String,
|
|
active: Boolean,
|
|
dot: Boolean
|
|
},
|
|
computed: {
|
|
classes: function() {
|
|
return this.active ? "yd-tabbar-active" : "";
|
|
},
|
|
styles: function() {
|
|
return this.active ? {} : {
|
|
color: this.$parent.color
|
|
};
|
|
}
|
|
}
|
|
};
|
|
}, function(t, e, n) {
|
|
"use strict";
|
|
Object.defineProperty(e, "__esModule", {
|
|
value: !0
|
|
});
|
|
var i = n(3);
|
|
e.default = {
|
|
name: "yd-tabbar",
|
|
props: {
|
|
fixed: Boolean,
|
|
exact: {
|
|
type: Boolean,
|
|
"default": !0
|
|
},
|
|
activeClass: {
|
|
type: String,
|
|
"default": "router-link-active"
|
|
},
|
|
activeColor: {
|
|
validator: function(t) {
|
|
return !t || (0, i.isColor)(t);
|
|
},
|
|
"default": "#09BB07"
|
|
},
|
|
bgcolor: {
|
|
validator: function(t) {
|
|
return !t || (0, i.isColor)(t);
|
|
},
|
|
"default": "#FFF"
|
|
},
|
|
color: {
|
|
validator: function(t) {
|
|
return !t || (0, i.isColor)(t);
|
|
},
|
|
"default": "#979797"
|
|
},
|
|
fontsize: {
|
|
validator: function(t) {
|
|
return /^(\.|\d+\.)?\d+(px|rem)$/.test(t);
|
|
},
|
|
"default": ".24rem"
|
|
}
|
|
},
|
|
computed: {
|
|
classes: function() {
|
|
return this.fixed ? "tabbar-fixed" : "";
|
|
},
|
|
styles: function() {
|
|
return {
|
|
color: this.activeColor,
|
|
backgroundColor: this.bgcolor,
|
|
fontSize: this.fontsize
|
|
};
|
|
}
|
|
}
|
|
};
|
|
}, function(t, e) {
|
|
"use strict";
|
|
Object.defineProperty(e, "__esModule", {
|
|
value: !0
|
|
}), e.default = {
|
|
name: "yd-textarea",
|
|
data: function() {
|
|
return {
|
|
num: 0,
|
|
mlstr: ""
|
|
};
|
|
},
|
|
props: {
|
|
maxlength: {
|
|
validator: function(t) {
|
|
return !t || /^(([1-9]\d*)|0)$/.test(t);
|
|
}
|
|
},
|
|
placeholder: {
|
|
type: String
|
|
},
|
|
readonly: {
|
|
type: Boolean,
|
|
"default": !1
|
|
},
|
|
value: {
|
|
type: String
|
|
},
|
|
showCounter: {
|
|
type: Boolean,
|
|
"default": !0
|
|
},
|
|
change: {
|
|
type: Function
|
|
},
|
|
callback: {
|
|
type: Function
|
|
}
|
|
},
|
|
watch: {
|
|
mlstr: function(t) {
|
|
this.$emit("input", t), this.change && this.change(), this.callback && this.change(),
|
|
this.showCounter && (this.num = t.length);
|
|
},
|
|
value: function(t) {
|
|
this.mlstr = t;
|
|
}
|
|
},
|
|
mounted: function() {
|
|
var t = this;
|
|
this.$nextTick(function() {
|
|
var e = t.value;
|
|
e && (t.mlstr = e.length > t.maxlength ? e.substr(e, t.maxlength) : e);
|
|
});
|
|
}
|
|
};
|
|
}, function(t, e) {
|
|
"use strict";
|
|
Object.defineProperty(e, "__esModule", {
|
|
value: !0
|
|
}), e.default = {
|
|
name: "yd-timeline-item"
|
|
};
|
|
}, function(t, e) {
|
|
"use strict";
|
|
Object.defineProperty(e, "__esModule", {
|
|
value: !0
|
|
}), e.default = {
|
|
name: "yd-timeline"
|
|
};
|
|
}, function(t, e, n) {
|
|
"use strict";
|
|
function i(t) {
|
|
return t && t.__esModule ? t : {
|
|
"default": t
|
|
};
|
|
}
|
|
Object.defineProperty(e, "__esModule", {
|
|
value: !0
|
|
}), e.AccordionItem = e.Accordion = void 0;
|
|
var r = n(51), s = i(r), o = n(50), a = i(o);
|
|
e.Accordion = s.default, e.AccordionItem = a.default;
|
|
}, function(t, e, n) {
|
|
"use strict";
|
|
function i(t) {
|
|
return t && t.__esModule ? t : {
|
|
"default": t
|
|
};
|
|
}
|
|
Object.defineProperty(e, "__esModule", {
|
|
value: !0
|
|
}), e.ActionSheet = void 0;
|
|
var r = n(52), s = i(r);
|
|
e.ActionSheet = s.default;
|
|
}, function(t, e, n) {
|
|
"use strict";
|
|
function i(t) {
|
|
return t && t.__esModule ? t : {
|
|
"default": t
|
|
};
|
|
}
|
|
Object.defineProperty(e, "__esModule", {
|
|
value: !0
|
|
}), e.BackTop = void 0;
|
|
var r = n(53), s = i(r);
|
|
e.BackTop = s.default;
|
|
}, function(t, e, n) {
|
|
"use strict";
|
|
function i(t) {
|
|
return t && t.__esModule ? t : {
|
|
"default": t
|
|
};
|
|
}
|
|
Object.defineProperty(e, "__esModule", {
|
|
value: !0
|
|
}), e.Badge = void 0;
|
|
var r = n(54), s = i(r);
|
|
e.Badge = s.default;
|
|
}, function(t, e, n) {
|
|
"use strict";
|
|
function i(t) {
|
|
return t && t.__esModule ? t : {
|
|
"default": t
|
|
};
|
|
}
|
|
Object.defineProperty(e, "__esModule", {
|
|
value: !0
|
|
}), e.ButtonGroup = e.Button = void 0;
|
|
var r = n(6), s = i(r), o = n(55), a = i(o);
|
|
e.Button = s.default, e.ButtonGroup = a.default;
|
|
}, function(t, e, n) {
|
|
"use strict";
|
|
function i(t) {
|
|
return t && t.__esModule ? t : {
|
|
"default": t
|
|
};
|
|
}
|
|
Object.defineProperty(e, "__esModule", {
|
|
value: !0
|
|
}), e.CellGroup = e.CellItem = void 0;
|
|
var r = n(57), s = i(r), o = n(56), a = i(o);
|
|
e.CellItem = s.default, e.CellGroup = a.default;
|
|
}, function(t, e, n) {
|
|
"use strict";
|
|
function i(t) {
|
|
return t && t.__esModule ? t : {
|
|
"default": t
|
|
};
|
|
}
|
|
Object.defineProperty(e, "__esModule", {
|
|
value: !0
|
|
}), e.CheckBoxGroup = e.CheckBox = void 0;
|
|
var r = n(59), s = i(r), o = n(58), a = i(o);
|
|
e.CheckBox = s.default, e.CheckBoxGroup = a.default;
|
|
}, function(t, e, n) {
|
|
"use strict";
|
|
function i(t) {
|
|
return t && t.__esModule ? t : {
|
|
"default": t
|
|
};
|
|
}
|
|
Object.defineProperty(e, "__esModule", {
|
|
value: !0
|
|
}), e.CheckListItem = e.CheckList = void 0;
|
|
var r = n(61), s = i(r), o = n(60), a = i(o);
|
|
e.CheckList = s.default, e.CheckListItem = a.default;
|
|
}, function(t, e, n) {
|
|
"use strict";
|
|
function i(t) {
|
|
return t && t.__esModule ? t : {
|
|
"default": t
|
|
};
|
|
}
|
|
Object.defineProperty(e, "__esModule", {
|
|
value: !0
|
|
}), e.CitySelect = void 0;
|
|
var r = n(62), s = i(r);
|
|
e.CitySelect = s.default;
|
|
}, function(t, e, n) {
|
|
"use strict";
|
|
function i(t) {
|
|
return t && t.__esModule ? t : {
|
|
"default": t
|
|
};
|
|
}
|
|
Object.defineProperty(e, "__esModule", {
|
|
value: !0
|
|
}), e.CountDown = void 0;
|
|
var r = n(63), s = i(r);
|
|
e.CountDown = s.default;
|
|
}, function(t, e, n) {
|
|
"use strict";
|
|
function i(t) {
|
|
return t && t.__esModule ? t : {
|
|
"default": t
|
|
};
|
|
}
|
|
Object.defineProperty(e, "__esModule", {
|
|
value: !0
|
|
}), e.CountUp = void 0;
|
|
var r = n(64), s = i(r);
|
|
e.CountUp = s.default;
|
|
}, function(t, e, n) {
|
|
var i, r, s = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(t) {
|
|
return typeof t;
|
|
} : function(t) {
|
|
return t && "function" == typeof Symbol && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
|
|
};
|
|
!function(s, o) {
|
|
i = o, r = "function" == typeof i ? i.call(e, n, e, t) : i, !(void 0 !== r && (t.exports = r));
|
|
}(void 0, function(t, e, n) {
|
|
var i = function(t, e, n, i, r, o) {
|
|
for (var a = 0, l = [ "webkit", "moz", "ms", "o" ], c = 0; c < l.length && !window.requestAnimationFrame; ++c) window.requestAnimationFrame = window[l[c] + "RequestAnimationFrame"],
|
|
window.cancelAnimationFrame = window[l[c] + "CancelAnimationFrame"] || window[l[c] + "CancelRequestAnimationFrame"];
|
|
window.requestAnimationFrame || (window.requestAnimationFrame = function(t, e) {
|
|
var n = new Date().getTime(), i = Math.max(0, 16 - (n - a)), r = window.setTimeout(function() {
|
|
t(n + i);
|
|
}, i);
|
|
return a = n + i, r;
|
|
}), window.cancelAnimationFrame || (window.cancelAnimationFrame = function(t) {
|
|
clearTimeout(t);
|
|
});
|
|
var u = this;
|
|
if (u.options = {
|
|
useEasing: !0,
|
|
useGrouping: !0,
|
|
separator: ",",
|
|
decimal: ".",
|
|
easingFn: null,
|
|
formattingFn: null,
|
|
prefix: "",
|
|
suffix: ""
|
|
}, o && "object" === ("undefined" == typeof o ? "undefined" : s(o))) for (var d in u.options) o.hasOwnProperty(d) && (u.options[d] = o[d]);
|
|
"" === u.options.separator && (u.options.useGrouping = !1), u.version = function() {
|
|
return "1.8.2";
|
|
}, u.d = "string" == typeof t ? document.getElementById(t) : t, u.startVal = Number(e),
|
|
u.endVal = Number(n), u.countDown = u.startVal > u.endVal, u.frameVal = u.startVal,
|
|
u.decimals = Math.max(0, i || 0), u.dec = Math.pow(10, u.decimals), u.duration = 1e3 * Number(r) || 2e3,
|
|
u.formatNumber = function(t) {
|
|
t = t.toFixed(u.decimals), t += "";
|
|
var e, n, i, r;
|
|
if (e = t.split("."), n = e[0], i = e.length > 1 ? u.options.decimal + e[1] : "",
|
|
r = /(\d+)(\d{3})/, u.options.useGrouping) for (;r.test(n); ) n = n.replace(r, "$1" + u.options.separator + "$2");
|
|
return u.options.prefix + n + i + u.options.suffix;
|
|
}, u.easeOutExpo = function(t, e, n, i) {
|
|
return n * (-Math.pow(2, -10 * t / i) + 1) * 1024 / 1023 + e;
|
|
}, u.easingFn = u.options.easingFn ? u.options.easingFn : u.easeOutExpo, u.formattingFn = u.options.formattingFn ? u.options.formattingFn : u.formatNumber,
|
|
u.printValue = function(t) {
|
|
var e = u.formattingFn(t);
|
|
"INPUT" === u.d.tagName ? this.d.value = e : "text" === u.d.tagName || "tspan" === u.d.tagName ? this.d.textContent = e : this.d.innerHTML = e;
|
|
}, u.count = function(t) {
|
|
u.startTime || (u.startTime = t), u.timestamp = t;
|
|
var e = t - u.startTime;
|
|
u.remaining = u.duration - e, u.options.useEasing ? u.countDown ? u.frameVal = u.startVal - u.easingFn(e, 0, u.startVal - u.endVal, u.duration) : u.frameVal = u.easingFn(e, u.startVal, u.endVal - u.startVal, u.duration) : u.countDown ? u.frameVal = u.startVal - (u.startVal - u.endVal) * (e / u.duration) : u.frameVal = u.startVal + (u.endVal - u.startVal) * (e / u.duration),
|
|
u.countDown ? u.frameVal = u.frameVal < u.endVal ? u.endVal : u.frameVal : u.frameVal = u.frameVal > u.endVal ? u.endVal : u.frameVal,
|
|
u.frameVal = Math.round(u.frameVal * u.dec) / u.dec, u.printValue(u.frameVal), e < u.duration ? u.rAF = requestAnimationFrame(u.count) : u.callback && u.callback();
|
|
}, u.start = function(t) {
|
|
return u.callback = t, u.rAF = requestAnimationFrame(u.count), !1;
|
|
}, u.pauseResume = function() {
|
|
u.paused ? (u.paused = !1, delete u.startTime, u.duration = u.remaining, u.startVal = u.frameVal,
|
|
requestAnimationFrame(u.count)) : (u.paused = !0, cancelAnimationFrame(u.rAF));
|
|
}, u.reset = function() {
|
|
u.paused = !1, delete u.startTime, u.startVal = e, cancelAnimationFrame(u.rAF),
|
|
u.printValue(u.startVal);
|
|
}, u.update = function(t) {
|
|
cancelAnimationFrame(u.rAF), u.paused = !1, delete u.startTime, u.startVal = u.frameVal,
|
|
u.endVal = Number(t), u.countDown = u.startVal > u.endVal, u.rAF = requestAnimationFrame(u.count);
|
|
}, u.printValue(u.startVal);
|
|
};
|
|
return i;
|
|
});
|
|
}, function(t, e, n) {
|
|
"use strict";
|
|
function i(t) {
|
|
return t && t.__esModule ? t : {
|
|
"default": t
|
|
};
|
|
}
|
|
Object.defineProperty(e, "__esModule", {
|
|
value: !0
|
|
}), e.DateTime = void 0;
|
|
var r = n(65), s = i(r);
|
|
e.DateTime = s.default;
|
|
}, function(t, e) {
|
|
"use strict";
|
|
var n = Date.now || function() {
|
|
return +new Date();
|
|
}, i = {}, r = 1, s = 60, o = 1e3;
|
|
t.exports = {
|
|
requestAnimationFrame: function() {
|
|
var t = window.requestAnimationFrame || window.webkitRequestAnimationFrame || window.mozRequestAnimationFrame || window.oRequestAnimationFrame, e = !!t;
|
|
if (t && !/requestAnimationFrame\(\)\s*\{\s*\[native code\]\s*\}/i.test(t.toString()) && (e = !1),
|
|
e) return function(e, n) {
|
|
t(e, n);
|
|
};
|
|
var n = 60, i = {}, r = 0, s = 1, o = null, a = +new Date();
|
|
return function(t, e) {
|
|
var l = s++;
|
|
return i[l] = t, r++, null === o && (o = setInterval(function() {
|
|
var t = +new Date(), e = i;
|
|
i = {}, r = 0;
|
|
for (var n in e) e.hasOwnProperty(n) && (e[n](t), a = t);
|
|
t - a > 2500 && (clearInterval(o), o = null);
|
|
}, 1e3 / n)), l;
|
|
};
|
|
}(),
|
|
stop: function(t) {
|
|
var e = null != i[t];
|
|
return e && (i[t] = null), e;
|
|
},
|
|
isRunning: function(t) {
|
|
return null != i[t];
|
|
},
|
|
start: function t(e, a, l, c, u, d) {
|
|
var f = this, t = n(), A = t, h = 0, p = 0, m = r++;
|
|
if (d || (d = document.body), m % 20 === 0) {
|
|
var v = {};
|
|
for (var g in i) v[g] = !0;
|
|
i = v;
|
|
}
|
|
var y = function r(v) {
|
|
var g = v !== !0, y = n();
|
|
if (!i[m] || a && !a(m)) return i[m] = null, void (l && l(s - p / ((y - t) / o), m, !1));
|
|
if (g) for (var _ = Math.round((y - A) / (o / s)) - 1, w = 0; w < Math.min(_, 4); w++) r(!0),
|
|
p++;
|
|
c && (h = (y - t) / c, h > 1 && (h = 1));
|
|
var b = u ? u(h) : h;
|
|
e(b, y, g) !== !1 && 1 !== h || !g ? g && (A = y, f.requestAnimationFrame(r, d)) : (i[m] = null,
|
|
l && l(s - p / ((y - t) / o), m, 1 === h || null == c));
|
|
};
|
|
return i[m] = !0, f.requestAnimationFrame(y, d), m;
|
|
}
|
|
};
|
|
}, function(t, e, n) {
|
|
"use strict";
|
|
var i = n(260), r = function(t, e, n) {
|
|
var i = this;
|
|
if (t) {
|
|
n = n || {}, i.options = {
|
|
onSelect: function() {},
|
|
itemHeight: 38
|
|
};
|
|
for (var r in n) void 0 !== n[r] && (i.options[r] = n[r]);
|
|
i.__content = e, i.__component = t, i.__itemHeight = i.options.itemHeight;
|
|
var s = window.Modernizr && !!window.Modernizr.touch || function() {
|
|
return !!("ontouchstart" in window || window.DocumentTouch && document instanceof DocumentTouch);
|
|
}(), o = {
|
|
start: s ? "touchstart" : "mousedown",
|
|
move: s ? "touchmove" : "mousemove",
|
|
end: s ? "touchend" : "mouseup"
|
|
};
|
|
t.addEventListener(o.start, function(t) {
|
|
t.target.tagName.match(/input|textarea|select/i) || (t.preventDefault(), i.__doTouchStart(t, t.timeStamp));
|
|
}, !1), t.addEventListener(o.move, function(t) {
|
|
i.__doTouchMove(t, t.timeStamp);
|
|
}, !1), t.addEventListener(o.end, function(t) {
|
|
i.__doTouchEnd(t.timeStamp);
|
|
}, !1);
|
|
}
|
|
}, s = {
|
|
value: null,
|
|
__prevValue: null,
|
|
__isSingleTouch: !1,
|
|
__isTracking: !1,
|
|
__didDecelerationComplete: !1,
|
|
__isGesturing: !1,
|
|
__isDragging: !1,
|
|
__isDecelerating: !1,
|
|
__isAnimating: !1,
|
|
__clientTop: 0,
|
|
__clientHeight: 0,
|
|
__contentHeight: 0,
|
|
__itemHeight: 0,
|
|
__scrollTop: 0,
|
|
__minScrollTop: 0,
|
|
__maxScrollTop: 0,
|
|
__scheduledTop: 0,
|
|
__lastTouchTop: null,
|
|
__lastTouchMove: null,
|
|
__positions: null,
|
|
__minDecelerationScrollTop: null,
|
|
__maxDecelerationScrollTop: null,
|
|
__decelerationVelocityY: null,
|
|
setDimensions: function(t, e, n) {
|
|
var i = this;
|
|
i.__clientHeight = t, i.__contentHeight = e;
|
|
var r = Math.round(i.__clientHeight / i.__itemHeight);
|
|
i.__minScrollTop = -i.__itemHeight * (r / 2), i.__maxScrollTop = i.__minScrollTop + n * i.__itemHeight - .1;
|
|
},
|
|
selectByIndex: function(t, e) {
|
|
var n = this;
|
|
t < 0 || t > n.__content.childElementCount - 1 || (n.__scrollTop = n.__minScrollTop + t * n.__itemHeight,
|
|
n.scrollTo(n.__scrollTop, e), n.__selectItem(n.__content.children[t]));
|
|
},
|
|
select: function(t, e) {
|
|
for (var n = this, i = n.__content.children, r = 0, s = i.length; r < s; r++) if (i[r].dataset.value == t) return void n.selectByIndex(r, e);
|
|
n.selectByIndex(0, e);
|
|
},
|
|
scrollTo: function(t, e) {
|
|
var n = this;
|
|
return e = void 0 === e || e, n.__isDecelerating && (i.stop(n.__isDecelerating),
|
|
n.__isDecelerating = !1), t = Math.round(t / n.__itemHeight) * n.__itemHeight, t = Math.max(Math.min(n.__maxScrollTop, t), n.__minScrollTop),
|
|
t !== n.__scrollTop && e ? void n.__publish(t, 250) : (n.__publish(t), void n.__scrollingComplete());
|
|
},
|
|
__selectItem: function(t) {
|
|
var e = this;
|
|
null !== e.value && (e.__prevValue = e.value), e.value = t.dataset.value;
|
|
},
|
|
__scrollingComplete: function() {
|
|
var t = this, e = Math.round((t.__scrollTop - t.__minScrollTop - t.__itemHeight / 2) / t.__itemHeight);
|
|
t.__selectItem(t.__content.children[e]), null !== t.__prevValue && t.__prevValue !== t.value && t.options.onSelect(t.value);
|
|
},
|
|
__doTouchStart: function(t, e) {
|
|
var n = t.touches, r = this, s = t.touches ? t.touches[0] : t, o = !!t.touches;
|
|
if (t.touches && null == n.length) throw new Error("Invalid touch list: " + n);
|
|
if (e instanceof Date && (e = e.valueOf()), "number" != typeof e) throw new Error("Invalid timestamp value: " + e);
|
|
r.__interruptedAnimation = !0, r.__isDecelerating && (i.stop(r.__isDecelerating),
|
|
r.__isDecelerating = !1, r.__interruptedAnimation = !0), r.__isAnimating && (i.stop(r.__isAnimating),
|
|
r.__isAnimating = !1, r.__interruptedAnimation = !0);
|
|
var a, l = o && 1 === n.length || !o;
|
|
a = l ? s.pageY : Math.abs(s.pageY + n[1].pageY) / 2, r.__initialTouchTop = a, r.__lastTouchTop = a,
|
|
r.__lastTouchMove = e, r.__lastScale = 1, r.__enableScrollY = !l, r.__isTracking = !0,
|
|
r.__didDecelerationComplete = !1, r.__isDragging = !l, r.__isSingleTouch = l, r.__positions = [];
|
|
},
|
|
__doTouchMove: function(t, e, n) {
|
|
var i = this, r = t.touches, s = t.touches ? t.touches[0] : t, o = !!t.touches;
|
|
if (r && null == r.length) throw new Error("Invalid touch list: " + r);
|
|
if (e instanceof Date && (e = e.valueOf()), "number" != typeof e) throw new Error("Invalid timestamp value: " + e);
|
|
if (i.__isTracking) {
|
|
var a;
|
|
a = o && 2 === r.length ? Math.abs(s.pageY + r[1].pageY) / 2 : s.pageY;
|
|
var l = i.__positions;
|
|
if (i.__isDragging) {
|
|
var c = a - i.__lastTouchTop, u = i.__scrollTop;
|
|
if (i.__enableScrollY) {
|
|
u -= c;
|
|
var d = i.__minScrollTop, f = i.__maxScrollTop;
|
|
(u > f || u < d) && (u = u > f ? f : d);
|
|
}
|
|
l.length > 40 && l.splice(0, 20), l.push(u, e), i.__publish(u);
|
|
} else {
|
|
var A = 0, h = 5, p = Math.abs(a - i.__initialTouchTop);
|
|
i.__enableScrollY = p >= A, l.push(i.__scrollTop, e), i.__isDragging = i.__enableScrollY && p >= h,
|
|
i.__isDragging && (i.__interruptedAnimation = !1);
|
|
}
|
|
i.__lastTouchTop = a, i.__lastTouchMove = e, i.__lastScale = n;
|
|
}
|
|
},
|
|
__doTouchEnd: function(t) {
|
|
var e = this;
|
|
if (t instanceof Date && (t = t.valueOf()), "number" != typeof t) throw new Error("Invalid timestamp value: " + t);
|
|
if (e.__isTracking) {
|
|
if (e.__isTracking = !1, e.__isDragging && (e.__isDragging = !1, e.__isSingleTouch && t - e.__lastTouchMove <= 100)) {
|
|
for (var n = e.__positions, i = n.length - 1, r = i, s = i; s > 0 && n[s] > e.__lastTouchMove - 100; s -= 2) r = s;
|
|
if (r !== i) {
|
|
var o = n[i] - n[r], a = e.__scrollTop - n[r - 1];
|
|
e.__decelerationVelocityY = a / o * (1e3 / 60);
|
|
var l = 4;
|
|
Math.abs(e.__decelerationVelocityY) > l && e.__startDeceleration(t);
|
|
}
|
|
}
|
|
e.__isDecelerating || e.scrollTo(e.__scrollTop), e.__positions.length = 0;
|
|
}
|
|
},
|
|
__easeOutCubic: function(t) {
|
|
return Math.pow(t - 1, 3) + 1;
|
|
},
|
|
__easeInOutCubic: function(t) {
|
|
return (t /= .5) < 1 ? .5 * Math.pow(t, 3) : .5 * (Math.pow(t - 2, 3) + 2);
|
|
},
|
|
__publish: function(t, e) {
|
|
var n = this, r = n.__isAnimating;
|
|
if (r && (i.stop(r), n.__isAnimating = !1), e) {
|
|
n.__scheduledTop = t;
|
|
var s = n.__scrollTop, o = t - s, a = function(t, e, i) {
|
|
n.__scrollTop = s + o * t, n.options.callback && n.options.callback(n.__scrollTop, n.__isDragging);
|
|
}, l = function(t) {
|
|
return n.__isAnimating === t;
|
|
}, c = function(t, e, i) {
|
|
e === n.__isAnimating && (n.__isAnimating = !1), (n.__didDecelerationComplete || i) && n.__scrollingComplete();
|
|
};
|
|
n.__isAnimating = i.start(a, l, c, e, r ? n.__easeOutCubic : n.__easeInOutCubic);
|
|
} else n.__scheduledTop = n.__scrollTop = t, n.options.callback && n.options.callback(t, n.__isDragging);
|
|
},
|
|
__startDeceleration: function(t) {
|
|
var e = this;
|
|
e.__minDecelerationScrollTop = e.__minScrollTop, e.__maxDecelerationScrollTop = e.__maxScrollTop;
|
|
var n = function(t, n, i) {
|
|
e.__stepThroughDeceleration(i);
|
|
}, r = .5, s = function() {
|
|
var t = Math.abs(e.__decelerationVelocityY) >= r;
|
|
return t || (e.__didDecelerationComplete = !0), t;
|
|
}, o = function(t, n, i) {
|
|
return e.__isDecelerating = !1, e.__scrollTop <= e.__minScrollTop || e.__scrollTop >= e.__maxScrollTop ? void e.scrollTo(e.__scrollTop) : void (e.__didDecelerationComplete && e.__scrollingComplete());
|
|
};
|
|
e.__isDecelerating = i.start(n, s, o);
|
|
},
|
|
__stepThroughDeceleration: function(t) {
|
|
var e = this, n = e.__scrollTop + e.__decelerationVelocityY, i = Math.max(Math.min(e.__maxDecelerationScrollTop, n), e.__minDecelerationScrollTop);
|
|
i !== n && (n = i, e.__decelerationVelocityY = 0), Math.abs(e.__decelerationVelocityY) <= 1 ? Math.abs(n % e.__itemHeight) < 1 && (e.__decelerationVelocityY = 0) : e.__decelerationVelocityY *= .95,
|
|
e.__publish(n);
|
|
}
|
|
};
|
|
for (var o in s) r.prototype[o] = s[o];
|
|
t.exports = r;
|
|
}, function(t, e, n) {
|
|
"use strict";
|
|
function i(t) {
|
|
return t && t.__esModule ? t : {
|
|
"default": t
|
|
};
|
|
}
|
|
Object.defineProperty(e, "__esModule", {
|
|
value: !0
|
|
}), e.Loading = e.Notify = e.Toast = e.Alert = e.Confirm = void 0;
|
|
var r = n(263), s = i(r), o = n(264), a = i(o), l = n(267), c = i(l), u = n(266), d = i(u), f = n(265), A = i(f);
|
|
e.Confirm = a.default, e.Alert = s.default, e.Toast = c.default, e.Notify = d.default,
|
|
e.Loading = A.default;
|
|
}, function(t, e, n) {
|
|
"use strict";
|
|
function i(t) {
|
|
return t && t.__esModule ? t : {
|
|
"default": t
|
|
};
|
|
}
|
|
Object.defineProperty(e, "__esModule", {
|
|
value: !0
|
|
});
|
|
var r = n(5), s = i(r), o = n(3), a = s.default.extend(n(67)), l = new a({
|
|
el: document.createElement("div")
|
|
}), c = function() {
|
|
o.pageScroll.unlock();
|
|
var t = l.$el;
|
|
t.parentNode && t.parentNode.removeChild(t);
|
|
};
|
|
a.prototype.closeAlert = function() {
|
|
o.pageScroll.unlock();
|
|
var t = l.$el;
|
|
t.parentNode && t.parentNode.removeChild(t), window.removeEventListener("hashchange", c),
|
|
"function" == typeof this.callback && this.callback();
|
|
};
|
|
var u = function() {
|
|
var t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {};
|
|
l.mes = t.mes, l.callback = t.callback, window.addEventListener("hashchange", c),
|
|
document.body.appendChild(l.$el), o.pageScroll.lock();
|
|
};
|
|
e.default = u;
|
|
}, function(t, e, n) {
|
|
"use strict";
|
|
function i(t) {
|
|
return t && t.__esModule ? t : {
|
|
"default": t
|
|
};
|
|
}
|
|
Object.defineProperty(e, "__esModule", {
|
|
value: !0
|
|
});
|
|
var r = n(5), s = i(r), o = n(3), a = s.default.extend(n(68)), l = new a({
|
|
el: document.createElement("div")
|
|
}), c = function() {
|
|
o.pageScroll.unlock();
|
|
var t = l.$el;
|
|
t.parentNode && t.parentNode.removeChild(t);
|
|
};
|
|
a.prototype.closeConfirm = function(t, e) {
|
|
if ("function" == typeof e && e(), !t) {
|
|
o.pageScroll.unlock();
|
|
var n = l.$el;
|
|
n.parentNode && n.parentNode.removeChild(n), window.removeEventListener("hashchange", c);
|
|
}
|
|
};
|
|
var u = function() {
|
|
var t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {};
|
|
l.mes = t.mes || "", l.title = t.title || "提示", l.opts = t.opts, window.addEventListener("hashchange", c),
|
|
document.body.appendChild(l.$el), o.pageScroll.lock();
|
|
};
|
|
e.default = u;
|
|
}, function(t, e, n) {
|
|
"use strict";
|
|
function i(t) {
|
|
return t && t.__esModule ? t : {
|
|
"default": t
|
|
};
|
|
}
|
|
Object.defineProperty(e, "__esModule", {
|
|
value: !0
|
|
});
|
|
var r = n(5), s = i(r), o = n(3), a = s.default.extend(n(69)), l = new a({
|
|
el: document.createElement("div")
|
|
});
|
|
a.prototype.open = function(t) {
|
|
l.title = t || "正在加载", document.body.appendChild(l.$el), o.pageScroll.lock();
|
|
}, a.prototype.close = function() {
|
|
var t = l.$el;
|
|
t.parentNode && t.parentNode.removeChild(t), o.pageScroll.unlock();
|
|
}, e.default = {
|
|
open: l.open,
|
|
close: l.close
|
|
};
|
|
}, function(t, e, n) {
|
|
"use strict";
|
|
function i(t) {
|
|
return t && t.__esModule ? t : {
|
|
"default": t
|
|
};
|
|
}
|
|
Object.defineProperty(e, "__esModule", {
|
|
value: !0
|
|
});
|
|
var r = n(5), s = i(r), o = s.default.extend(n(70)), a = new o({
|
|
el: document.createElement("div")
|
|
}), l = null, c = !1;
|
|
o.prototype.closeNotify = function() {
|
|
a.classes = "yd-notify-out", setTimeout(function() {
|
|
var t = a.$el;
|
|
t.parentNode && t.parentNode.removeChild(t), c = !1;
|
|
}, 150), "function" == typeof this.callback && this.callback();
|
|
};
|
|
var u = function() {
|
|
var t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {};
|
|
a.classes = "", a.mes = t.mes, a.timeout = ~~t.timeout || 5e3, a.callback = t.callback,
|
|
c || (c = !0, document.body.appendChild(a.$el), a.$el.addEventListener("click", function() {
|
|
clearTimeout(l), a.closeNotify();
|
|
}), l = setTimeout(function() {
|
|
clearTimeout(l), a.closeNotify();
|
|
}, a.timeout));
|
|
};
|
|
e.default = u;
|
|
}, function(t, e, n) {
|
|
"use strict";
|
|
function i(t) {
|
|
return t && t.__esModule ? t : {
|
|
"default": t
|
|
};
|
|
}
|
|
Object.defineProperty(e, "__esModule", {
|
|
value: !0
|
|
});
|
|
var r = n(5), s = i(r), o = n(3), a = s.default.extend(n(71)), l = new a({
|
|
el: document.createElement("div")
|
|
});
|
|
a.prototype.closeToast = function() {
|
|
var t = l.$el;
|
|
t.parentNode && t.parentNode.removeChild(t), o.pageScroll.unlock(), "function" == typeof this.callback && this.callback();
|
|
};
|
|
var c = function() {
|
|
var t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {};
|
|
l.mes = t.mes, l.icon = t.icon, l.timeout = ~~t.timeout || 2e3, l.callback = t.callback,
|
|
document.body.appendChild(l.$el), o.pageScroll.lock();
|
|
var e = setTimeout(function() {
|
|
clearTimeout(e), l.closeToast();
|
|
}, l.timeout + 100);
|
|
};
|
|
e.default = c;
|
|
}, function(t, e, n) {
|
|
"use strict";
|
|
function i(t) {
|
|
return t && t.__esModule ? t : {
|
|
"default": t
|
|
};
|
|
}
|
|
Object.defineProperty(e, "__esModule", {
|
|
value: !0
|
|
}), e.FlexBoxItem = e.FlexBox = void 0;
|
|
var r = n(73), s = i(r), o = n(72), a = i(o);
|
|
e.FlexBox = s.default, e.FlexBoxItem = a.default;
|
|
}, function(t, e, n) {
|
|
"use strict";
|
|
function i(t) {
|
|
return t && t.__esModule ? t : {
|
|
"default": t
|
|
};
|
|
}
|
|
Object.defineProperty(e, "__esModule", {
|
|
value: !0
|
|
}), e.GridsGroup = e.GridsItem = void 0;
|
|
var r = n(75), s = i(r), o = n(74), a = i(o);
|
|
e.GridsItem = s.default, e.GridsGroup = a.default;
|
|
}, function(t, e, n) {
|
|
"use strict";
|
|
function i(t) {
|
|
return t && t.__esModule ? t : {
|
|
"default": t
|
|
};
|
|
}
|
|
Object.defineProperty(e, "__esModule", {
|
|
value: !0
|
|
}), e.Icons = void 0;
|
|
var r = n(76), s = i(r);
|
|
e.Icons = s.default;
|
|
}, function(t, e, n) {
|
|
"use strict";
|
|
function i(t) {
|
|
return t && t.__esModule ? t : {
|
|
"default": t
|
|
};
|
|
}
|
|
Object.defineProperty(e, "__esModule", {
|
|
value: !0
|
|
}), e.InfiniteScroll = void 0;
|
|
var r = n(77), s = i(r);
|
|
e.InfiniteScroll = s.default;
|
|
}, function(t, e, n) {
|
|
"use strict";
|
|
function i(t) {
|
|
return t && t.__esModule ? t : {
|
|
"default": t
|
|
};
|
|
}
|
|
Object.defineProperty(e, "__esModule", {
|
|
value: !0
|
|
}), e.Input = void 0;
|
|
var r = n(79), s = i(r);
|
|
e.Input = s.default;
|
|
}, function(t, e, n) {
|
|
"use strict";
|
|
function i(t) {
|
|
return t && t.__esModule ? t : {
|
|
"default": t
|
|
};
|
|
}
|
|
Object.defineProperty(e, "__esModule", {
|
|
value: !0
|
|
}), e.KeyBoard = void 0;
|
|
var r = n(80), s = i(r);
|
|
e.KeyBoard = s.default;
|
|
}, function(t, e, n) {
|
|
"use strict";
|
|
function i(t) {
|
|
return t && t.__esModule ? t : {
|
|
"default": t
|
|
};
|
|
}
|
|
Object.defineProperty(e, "__esModule", {
|
|
value: !0
|
|
}), e.Layout = void 0;
|
|
var r = n(81), s = i(r);
|
|
e.Layout = s.default;
|
|
}, function(t, e, n) {
|
|
"use strict";
|
|
function i(t) {
|
|
return t && t.__esModule ? t : {
|
|
"default": t
|
|
};
|
|
}
|
|
Object.defineProperty(e, "__esModule", {
|
|
value: !0
|
|
}), e.LightBoxTxt = e.LightBoxImg = e.LightBox = void 0;
|
|
var r = n(85), s = i(r), o = n(83), a = i(o), l = n(84), c = i(l);
|
|
e.LightBox = s.default, e.LightBoxImg = a.default, e.LightBoxTxt = c.default;
|
|
}, function(t, e, n) {
|
|
"use strict";
|
|
function i(t) {
|
|
return t && t.__esModule ? t : {
|
|
"default": t
|
|
};
|
|
}
|
|
Object.defineProperty(e, "__esModule", {
|
|
value: !0
|
|
}), e.ListOther = e.ListItem = e.ListTheme = void 0;
|
|
var r = n(88), s = i(r), o = n(86), a = i(o), l = n(87), c = i(l);
|
|
e.ListTheme = s.default, e.ListItem = a.default, e.ListOther = c.default;
|
|
}, function(t, e, n) {
|
|
"use strict";
|
|
function i(t) {
|
|
return t && t.__esModule ? t : {
|
|
"default": t
|
|
};
|
|
}
|
|
Object.defineProperty(e, "__esModule", {
|
|
value: !0
|
|
}), e.NavBarNextIcon = e.NavBarBackIcon = e.NavBar = void 0;
|
|
var r = n(91), s = i(r), o = n(89), a = i(o), l = n(90), c = i(l);
|
|
e.NavBar = s.default, e.NavBarBackIcon = a.default, e.NavBarNextIcon = c.default;
|
|
}, function(t, e, n) {
|
|
"use strict";
|
|
function i(t) {
|
|
return t && t.__esModule ? t : {
|
|
"default": t
|
|
};
|
|
}
|
|
Object.defineProperty(e, "__esModule", {
|
|
value: !0
|
|
}), e.Popup = void 0;
|
|
var r = n(92), s = i(r);
|
|
e.Popup = s.default;
|
|
}, function(t, e, n) {
|
|
"use strict";
|
|
function i(t) {
|
|
return t && t.__esModule ? t : {
|
|
"default": t
|
|
};
|
|
}
|
|
Object.defineProperty(e, "__esModule", {
|
|
value: !0
|
|
}), e.ProgressBar = void 0;
|
|
var r = n(93), s = i(r);
|
|
e.ProgressBar = s.default;
|
|
}, function(t, e, n) {
|
|
"use strict";
|
|
function i(t) {
|
|
return t && t.__esModule ? t : {
|
|
"default": t
|
|
};
|
|
}
|
|
Object.defineProperty(e, "__esModule", {
|
|
value: !0
|
|
}), e.PullRefresh = void 0;
|
|
var r = n(94), s = i(r);
|
|
e.PullRefresh = s.default;
|
|
}, function(t, e, n) {
|
|
"use strict";
|
|
function i(t) {
|
|
return t && t.__esModule ? t : {
|
|
"default": t
|
|
};
|
|
}
|
|
Object.defineProperty(e, "__esModule", {
|
|
value: !0
|
|
}), e.RadioGroup = e.Radio = void 0;
|
|
var r = n(96), s = i(r), o = n(95), a = i(o);
|
|
e.Radio = s.default, e.RadioGroup = a.default;
|
|
}, function(t, e, n) {
|
|
"use strict";
|
|
function i(t) {
|
|
return t && t.__esModule ? t : {
|
|
"default": t
|
|
};
|
|
}
|
|
Object.defineProperty(e, "__esModule", {
|
|
value: !0
|
|
}), e.Rate = void 0;
|
|
var r = n(97), s = i(r);
|
|
e.Rate = s.default;
|
|
}, function(t, e, n) {
|
|
"use strict";
|
|
function i(t) {
|
|
return t && t.__esModule ? t : {
|
|
"default": t
|
|
};
|
|
}
|
|
Object.defineProperty(e, "__esModule", {
|
|
value: !0
|
|
}), e.RollNoticeItem = e.RollNotice = void 0;
|
|
var r = n(99), s = i(r), o = n(98), a = i(o);
|
|
e.RollNotice = s.default, e.RollNoticeItem = a.default;
|
|
}, function(t, e, n) {
|
|
"use strict";
|
|
function i(t) {
|
|
return t && t.__esModule ? t : {
|
|
"default": t
|
|
};
|
|
}
|
|
Object.defineProperty(e, "__esModule", {
|
|
value: !0
|
|
}), e.ScrollTabPanel = e.ScrollTab = void 0;
|
|
var r = n(101), s = i(r), o = n(100), a = i(o);
|
|
e.ScrollTab = s.default, e.ScrollTabPanel = a.default;
|
|
}, function(t, e, n) {
|
|
"use strict";
|
|
function i(t) {
|
|
return t && t.__esModule ? t : {
|
|
"default": t
|
|
};
|
|
}
|
|
Object.defineProperty(e, "__esModule", {
|
|
value: !0
|
|
}), e.SendCode = void 0;
|
|
var r = n(102), s = i(r);
|
|
e.SendCode = s.default;
|
|
}, function(t, e, n) {
|
|
"use strict";
|
|
function i(t) {
|
|
return t && t.__esModule ? t : {
|
|
"default": t
|
|
};
|
|
}
|
|
Object.defineProperty(e, "__esModule", {
|
|
value: !0
|
|
}), e.SliderItem = e.Slider = void 0;
|
|
var r = n(8), s = i(r), o = n(7), a = i(o);
|
|
e.Slider = s.default, e.SliderItem = a.default;
|
|
}, function(t, e, n) {
|
|
"use strict";
|
|
function i(t) {
|
|
return t && t.__esModule ? t : {
|
|
"default": t
|
|
};
|
|
}
|
|
Object.defineProperty(e, "__esModule", {
|
|
value: !0
|
|
}), e.Spinner = void 0;
|
|
var r = n(103), s = i(r);
|
|
e.Spinner = s.default;
|
|
}, function(t, e, n) {
|
|
"use strict";
|
|
function i(t) {
|
|
return t && t.__esModule ? t : {
|
|
"default": t
|
|
};
|
|
}
|
|
Object.defineProperty(e, "__esModule", {
|
|
value: !0
|
|
}), e.StepItem = e.Step = void 0;
|
|
var r = n(105), s = i(r), o = n(104), a = i(o);
|
|
e.Step = s.default, e.StepItem = a.default;
|
|
}, function(t, e, n) {
|
|
"use strict";
|
|
function i(t) {
|
|
return t && t.__esModule ? t : {
|
|
"default": t
|
|
};
|
|
}
|
|
Object.defineProperty(e, "__esModule", {
|
|
value: !0
|
|
}), e.Switch = void 0;
|
|
var r = n(106), s = i(r);
|
|
e.Switch = s.default;
|
|
}, function(t, e, n) {
|
|
"use strict";
|
|
function i(t) {
|
|
return t && t.__esModule ? t : {
|
|
"default": t
|
|
};
|
|
}
|
|
Object.defineProperty(e, "__esModule", {
|
|
value: !0
|
|
}), e.TabPanel = e.Tab = void 0;
|
|
var r = n(108), s = i(r), o = n(107), a = i(o);
|
|
e.Tab = s.default, e.TabPanel = a.default;
|
|
}, function(t, e, n) {
|
|
"use strict";
|
|
function i(t) {
|
|
return t && t.__esModule ? t : {
|
|
"default": t
|
|
};
|
|
}
|
|
Object.defineProperty(e, "__esModule", {
|
|
value: !0
|
|
}), e.TabBarItem = e.TabBar = void 0;
|
|
var r = n(110), s = i(r), o = n(109), a = i(o);
|
|
e.TabBar = s.default, e.TabBarItem = a.default;
|
|
}, function(t, e, n) {
|
|
"use strict";
|
|
function i(t) {
|
|
return t && t.__esModule ? t : {
|
|
"default": t
|
|
};
|
|
}
|
|
Object.defineProperty(e, "__esModule", {
|
|
value: !0
|
|
}), e.TextArea = void 0;
|
|
var r = n(111), s = i(r);
|
|
e.TextArea = s.default;
|
|
}, function(t, e, n) {
|
|
"use strict";
|
|
function i(t) {
|
|
return t && t.__esModule ? t : {
|
|
"default": t
|
|
};
|
|
}
|
|
Object.defineProperty(e, "__esModule", {
|
|
value: !0
|
|
}), e.TimeLineItem = e.TimeLine = void 0;
|
|
var r = n(113), s = i(r), o = n(112), a = i(o);
|
|
e.TimeLine = s.default, e.TimeLineItem = a.default;
|
|
} ]);
|
|
}); |