merge master into develop - CscListRForm.jsp FAQ 아코디언 버그 수정
This commit is contained in:
1
build/resources/main/static/pc/vendor/dropzone/dropzone.min.css
vendored
Normal file
1
build/resources/main/static/pc/vendor/dropzone/dropzone.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
1
build/resources/main/static/pc/vendor/dropzone/dropzone.min.js
vendored
Normal file
1
build/resources/main/static/pc/vendor/dropzone/dropzone.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
2
build/resources/main/static/pc/vendor/jquery-3.7.1.min.js
vendored
Normal file
2
build/resources/main/static/pc/vendor/jquery-3.7.1.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
1
build/resources/main/static/pc/vendor/jquery-modal/jquery.modal.min.css
vendored
Normal file
1
build/resources/main/static/pc/vendor/jquery-modal/jquery.modal.min.css
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.blocker{position:fixed;top:0;right:0;bottom:0;left:0;width:100%;height:100%;overflow:auto;z-index:1;padding:20px;box-sizing:border-box;background-color:#000;background-color:rgba(0,0,0,0.75);text-align:center}.blocker:before{content:"";display:inline-block;height:100%;vertical-align:middle;margin-right:-0.05em}.blocker.behind{background-color:transparent}.modal{display:none;vertical-align:middle;position:relative;z-index:2;max-width:500px;box-sizing:border-box;width:90%;background:#fff;padding:15px 30px;-webkit-border-radius:8px;-moz-border-radius:8px;-o-border-radius:8px;-ms-border-radius:8px;border-radius:8px;-webkit-box-shadow:0 0 10px #000;-moz-box-shadow:0 0 10px #000;-o-box-shadow:0 0 10px #000;-ms-box-shadow:0 0 10px #000;box-shadow:0 0 10px #000;text-align:left}.modal a.close-modal{position:absolute;top:-12.5px;right:-12.5px;display:block;width:30px;height:30px;text-indent:-9999px;background-size:contain;background-repeat:no-repeat;background-position:center center;background-image:url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAAAXNSR0IArs4c6QAAA3hJREFUaAXlm8+K00Acx7MiCIJH/yw+gA9g25O49SL4AO3Bp1jw5NvktC+wF88qevK4BU97EmzxUBCEolK/n5gp3W6TTJPfpNPNF37MNsl85/vN/DaTmU6PknC4K+pniqeKJ3k8UnkvDxXJzzy+q/yaxxeVHxW/FNHjgRSeKt4rFoplzaAuHHDBGR2eS9G54reirsmienDCTRt7xwsp+KAoEmt9nLaGitZxrBbPFNaGfPloGw2t4JVamSt8xYW6Dg1oCYo3Yv+rCGViV160oMkcd8SYKnYV1Nb1aEOjCe6L5ZOiLfF120EjWhuBu3YIZt1NQmujnk5F4MgOpURzLfAwOBSTmzp3fpDxuI/pabxpqOoz2r2HLAb0GMbZKlNV5/Hg9XJypguryA7lPF5KMdTZQzHjqxNPhWhzIuAruOl1eNqKEx1tSh5rfbxdw7mOxCq4qS68ZTjKS1YVvilu559vWvFHhh4rZrdyZ69Vmpgdj8fJbDZLJpNJ0uv1cnr/gjrUhQMuI+ANjyuwftQ0bbL6Erp0mM/ny8Fg4M3LtdRxgMtKl3jwmIHVxYXChFy94/Rmpa/pTbNUhstKV+4Rr8lLQ9KlUvJKLyG8yvQ2s9SBy1Jb7jV5a0yapfF6apaZLjLLcWtd4sNrmJUMHyM+1xibTjH82Zh01TNlhsrOhdKTe00uAzZQmN6+KW+sDa/JD2PSVQ873m29yf+1Q9VDzfEYlHi1G5LKBBWZbtEsHbFwb1oYDwr1ZiF/2bnCSg1OBE/pfr9/bWx26UxJL3ONPISOLKUvQza0LZUxSKyjpdTGa/vDEr25rddbMM0Q3O6Lx3rqFvU+x6UrRKQY7tyrZecmD9FODy8uLizTmilwNj0kraNcAJhOp5aGVwsAGD5VmJBrWWbJSgWT9zrzWepQF47RaGSiKfeGx6Szi3gzmX/HHbihwBser4B9UJYpFBNX4R6vTn3VQnez0SymnrHQMsRYGTr1dSk34ljRqS/EMd2pLQ8YBp3a1PLfcqCpo8gtHkZFHKkTX6fs3MY0blKnth66rKCnU0VRGu37ONrQaA4eZDFtWAu2fXj9zjFkxTBOo8F7t926gTp/83Kyzzcy2kZD6xiqxTYnHLRFm3vHiRSwNSjkz3hoIzo8lCKWUlg/YtGs7tObunDAZfpDLbfEI15zsEIY3U/x/gHHc/G1zltnAgAAAABJRU5ErkJggg==')}.modal-spinner{display:none;position:fixed;top:50%;left:50%;transform:translateY(-50%) translateX(-50%);padding:12px 16px;border-radius:5px;background-color:#111;height:20px}.modal-spinner>div{border-radius:100px;background-color:#fff;height:20px;width:2px;margin:0 1px;display:inline-block;-webkit-animation:sk-stretchdelay 1.2s infinite ease-in-out;animation:sk-stretchdelay 1.2s infinite ease-in-out}.modal-spinner .rect2{-webkit-animation-delay:-1.1s;animation-delay:-1.1s}.modal-spinner .rect3{-webkit-animation-delay:-1.0s;animation-delay:-1.0s}.modal-spinner .rect4{-webkit-animation-delay:-0.9s;animation-delay:-0.9s}@-webkit-keyframes sk-stretchdelay{0%,40%,100%{-webkit-transform:scaleY(0.5)}20%{-webkit-transform:scaleY(1.0)}}@keyframes sk-stretchdelay{0%,40%,100%{transform:scaleY(0.5);-webkit-transform:scaleY(0.5)}20%{transform:scaleY(1.0);-webkit-transform:scaleY(1.0)}}
|
||||
211
build/resources/main/static/pc/vendor/jquery-modal/jquery.modal.min.js
vendored
Normal file
211
build/resources/main/static/pc/vendor/jquery-modal/jquery.modal.min.js
vendored
Normal file
@@ -0,0 +1,211 @@
|
||||
/*
|
||||
A simple jQuery modal (http://github.com/kylefox/jquery-modal)
|
||||
Version 0.9.2
|
||||
*/
|
||||
!(function (o) {
|
||||
"object" == typeof module && "object" == typeof module.exports
|
||||
? o(require("jquery"), window, document)
|
||||
: o(jQuery, window, document);
|
||||
})(function (o, t, i, e) {
|
||||
var s = [],
|
||||
l = function () {
|
||||
return s.length ? s[s.length - 1] : null;
|
||||
},
|
||||
n = function () {
|
||||
var o,
|
||||
t = !1;
|
||||
for (o = s.length - 1; o >= 0; o--)
|
||||
s[o].$blocker &&
|
||||
(s[o].$blocker.toggleClass("current", !t).toggleClass("behind", t), (t = !0));
|
||||
};
|
||||
(o.modal = function (t, i) {
|
||||
var e, n;
|
||||
if (
|
||||
((this.$body = o("body")),
|
||||
(this.options = o.extend({}, o.modal.defaults, i)),
|
||||
(this.options.doFade = !isNaN(parseInt(this.options.fadeDuration, 10))),
|
||||
(this.$blocker = null),
|
||||
this.options.closeExisting)
|
||||
)
|
||||
for (; o.modal.isActive(); ) o.modal.close();
|
||||
if ((s.push(this), t.is("a")))
|
||||
if (((n = t.attr("href")), (this.anchor = t), /^#/.test(n))) {
|
||||
if (((this.$elm = o(n)), 1 !== this.$elm.length)) return null;
|
||||
this.$body.append(this.$elm), this.open();
|
||||
} else
|
||||
(this.$elm = o("<div>")),
|
||||
this.$body.append(this.$elm),
|
||||
(e = function (o, t) {
|
||||
t.elm.remove();
|
||||
}),
|
||||
this.showSpinner(),
|
||||
t.trigger(o.modal.AJAX_SEND),
|
||||
o
|
||||
.get(n)
|
||||
.done(function (i) {
|
||||
if (o.modal.isActive()) {
|
||||
t.trigger(o.modal.AJAX_SUCCESS);
|
||||
var s = l();
|
||||
s.$elm.empty().append(i).on(o.modal.CLOSE, e),
|
||||
s.hideSpinner(),
|
||||
s.open(),
|
||||
t.trigger(o.modal.AJAX_COMPLETE);
|
||||
}
|
||||
})
|
||||
.fail(function () {
|
||||
t.trigger(o.modal.AJAX_FAIL);
|
||||
var i = l();
|
||||
i.hideSpinner(), s.pop(), t.trigger(o.modal.AJAX_COMPLETE);
|
||||
});
|
||||
else (this.$elm = t), (this.anchor = t), this.$body.append(this.$elm), this.open();
|
||||
}),
|
||||
(o.modal.prototype = {
|
||||
constructor: o.modal,
|
||||
open: function () {
|
||||
var t = this;
|
||||
this.block(),
|
||||
this.anchor.blur(),
|
||||
this.options.doFade
|
||||
? setTimeout(function () {
|
||||
t.show();
|
||||
}, this.options.fadeDuration * this.options.fadeDelay)
|
||||
: this.show(),
|
||||
o(i)
|
||||
.off("keydown.modal")
|
||||
.on("keydown.modal", function (o) {
|
||||
var t = l();
|
||||
27 === o.which && t.options.escapeClose && t.close();
|
||||
}),
|
||||
this.options.clickClose &&
|
||||
this.$blocker.click(function (t) {
|
||||
t.target === this && o.modal.close();
|
||||
});
|
||||
},
|
||||
close: function () {
|
||||
s.pop(),
|
||||
this.unblock(),
|
||||
this.hide(),
|
||||
o.modal.isActive() || o(i).off("keydown.modal");
|
||||
},
|
||||
block: function () {
|
||||
this.$elm.trigger(o.modal.BEFORE_BLOCK, [this._ctx()]),
|
||||
this.$body.css("overflow", "hidden"),
|
||||
(this.$blocker = o(
|
||||
'<div class="' + this.options.blockerClass + ' blocker current"></div>'
|
||||
).appendTo(this.$body)),
|
||||
n(),
|
||||
this.options.doFade &&
|
||||
this.$blocker
|
||||
.css("opacity", 0)
|
||||
.animate({ opacity: 1 }, this.options.fadeDuration),
|
||||
this.$elm.trigger(o.modal.BLOCK, [this._ctx()]);
|
||||
},
|
||||
unblock: function (t) {
|
||||
!t && this.options.doFade
|
||||
? this.$blocker.fadeOut(this.options.fadeDuration, this.unblock.bind(this, !0))
|
||||
: (this.$blocker.children().appendTo(this.$body),
|
||||
this.$blocker.remove(),
|
||||
(this.$blocker = null),
|
||||
n(),
|
||||
o.modal.isActive() || this.$body.css("overflow", ""));
|
||||
},
|
||||
show: function () {
|
||||
this.$elm.trigger(o.modal.BEFORE_OPEN, [this._ctx()]),
|
||||
this.options.showClose &&
|
||||
((this.closeButton = o(
|
||||
'<a href="#close-modal" rel="modal:close" class="close-modal ' +
|
||||
this.options.closeClass +
|
||||
'">' +
|
||||
this.options.closeText +
|
||||
"</a>"
|
||||
)),
|
||||
this.$elm.append(this.closeButton)),
|
||||
this.$elm.addClass(this.options.modalClass).appendTo(this.$blocker),
|
||||
this.options.doFade
|
||||
? this.$elm
|
||||
.css({ opacity: 0, display: "inline-block" })
|
||||
.animate({ opacity: 1 }, this.options.fadeDuration)
|
||||
: this.$elm.css("display", "inline-block"),
|
||||
this.$elm.trigger(o.modal.OPEN, [this._ctx()]);
|
||||
},
|
||||
hide: function () {
|
||||
this.$elm.trigger(o.modal.BEFORE_CLOSE, [this._ctx()]),
|
||||
this.closeButton && this.closeButton.remove();
|
||||
var t = this;
|
||||
this.options.doFade
|
||||
? this.$elm.fadeOut(this.options.fadeDuration, function () {
|
||||
t.$elm.trigger(o.modal.AFTER_CLOSE, [t._ctx()]);
|
||||
})
|
||||
: this.$elm.hide(0, function () {
|
||||
t.$elm.trigger(o.modal.AFTER_CLOSE, [t._ctx()]);
|
||||
}),
|
||||
this.$elm.trigger(o.modal.CLOSE, [this._ctx()]);
|
||||
},
|
||||
showSpinner: function () {
|
||||
this.options.showSpinner &&
|
||||
((this.spinner =
|
||||
this.spinner ||
|
||||
o('<div class="' + this.options.modalClass + '-spinner"></div>').append(
|
||||
this.options.spinnerHtml
|
||||
)),
|
||||
this.$body.append(this.spinner),
|
||||
this.spinner.show());
|
||||
},
|
||||
hideSpinner: function () {
|
||||
this.spinner && this.spinner.remove();
|
||||
},
|
||||
_ctx: function () {
|
||||
return {
|
||||
elm: this.$elm,
|
||||
$elm: this.$elm,
|
||||
$blocker: this.$blocker,
|
||||
options: this.options,
|
||||
$anchor: this.anchor,
|
||||
};
|
||||
},
|
||||
}),
|
||||
(o.modal.close = function (t) {
|
||||
if (o.modal.isActive()) {
|
||||
t && t.preventDefault();
|
||||
var i = l();
|
||||
return i.close(), i.$elm;
|
||||
}
|
||||
}),
|
||||
(o.modal.isActive = function () {
|
||||
return s.length > 0;
|
||||
}),
|
||||
(o.modal.getCurrent = l),
|
||||
(o.modal.defaults = {
|
||||
closeExisting: !0,
|
||||
escapeClose: !0,
|
||||
clickClose: !0,
|
||||
closeText: "닫기",
|
||||
closeClass: "",
|
||||
modalClass: "modal",
|
||||
blockerClass: "jquery-modal",
|
||||
spinnerHtml:
|
||||
'<div class="rect1"></div><div class="rect2"></div><div class="rect3"></div><div class="rect4"></div>',
|
||||
showSpinner: !0,
|
||||
showClose: !0,
|
||||
fadeDuration: null,
|
||||
fadeDelay: 1,
|
||||
}),
|
||||
(o.modal.BEFORE_BLOCK = "modal:before-block"),
|
||||
(o.modal.BLOCK = "modal:block"),
|
||||
(o.modal.BEFORE_OPEN = "modal:before-open"),
|
||||
(o.modal.OPEN = "modal:open"),
|
||||
(o.modal.BEFORE_CLOSE = "modal:before-close"),
|
||||
(o.modal.CLOSE = "modal:close"),
|
||||
(o.modal.AFTER_CLOSE = "modal:after-close"),
|
||||
(o.modal.AJAX_SEND = "modal:ajax:send"),
|
||||
(o.modal.AJAX_SUCCESS = "modal:ajax:success"),
|
||||
(o.modal.AJAX_FAIL = "modal:ajax:fail"),
|
||||
(o.modal.AJAX_COMPLETE = "modal:ajax:complete"),
|
||||
(o.fn.modal = function (t) {
|
||||
return 1 === this.length && new o.modal(this, t), this;
|
||||
}),
|
||||
o(i).on("click.modal", 'a[rel~="modal:close"]', o.modal.close),
|
||||
o(i).on("click.modal", 'a[rel~="modal:open"]', function (t) {
|
||||
t.preventDefault(), o(this).modal();
|
||||
});
|
||||
});
|
||||
117
build/resources/main/static/pc/vendor/jquery-nice-select/jquery.nice-select.min.js
vendored
Normal file
117
build/resources/main/static/pc/vendor/jquery-nice-select/jquery.nice-select.min.js
vendored
Normal file
@@ -0,0 +1,117 @@
|
||||
/* jQuery Nice Select - v1.0
|
||||
https://github.com/hernansartorio/jquery-nice-select
|
||||
Made by Hernán Sartorio */
|
||||
!(function (e) {
|
||||
e.fn.niceSelect = function (t) {
|
||||
function s(t) {
|
||||
t.after(
|
||||
e("<div></div>")
|
||||
.addClass("nice-select")
|
||||
.addClass(t.attr("class") || "")
|
||||
.addClass(t.attr("disabled") ? "disabled" : "")
|
||||
.attr("tabindex", t.attr("disabled") ? null : "0")
|
||||
.html('<span class="current"></span><ul class="list"></ul>')
|
||||
);
|
||||
var s = t.next(),
|
||||
n = t.find("option"),
|
||||
i = t.find("option:selected");
|
||||
s.find(".current").html(i.data("display") || i.text()),
|
||||
n.each(function (t) {
|
||||
var n = e(this),
|
||||
i = n.data("display");
|
||||
s.find("ul").append(
|
||||
e("<li></li>")
|
||||
.attr("data-value", n.val())
|
||||
.attr("data-display", i || null)
|
||||
.addClass(
|
||||
"option" +
|
||||
(n.is(":selected") ? " selected" : "") +
|
||||
(n.is(":disabled") ? " disabled" : "")
|
||||
)
|
||||
.html(n.text())
|
||||
);
|
||||
});
|
||||
}
|
||||
if ("string" == typeof t)
|
||||
return (
|
||||
"update" == t
|
||||
? this.each(function () {
|
||||
var t = e(this),
|
||||
n = e(this).next(".nice-select"),
|
||||
i = n.hasClass("open");
|
||||
n.length && (n.remove(), s(t), i && t.next().trigger("click"));
|
||||
})
|
||||
: "destroy" == t
|
||||
? (this.each(function () {
|
||||
var t = e(this),
|
||||
s = e(this).next(".nice-select");
|
||||
s.length && (s.remove(), t.css("display", ""));
|
||||
}),
|
||||
0 == e(".nice-select").length && e(document).off(".nice_select"))
|
||||
: console.log('Method "' + t + '" does not exist.'),
|
||||
this
|
||||
);
|
||||
this.hide(),
|
||||
this.each(function () {
|
||||
var t = e(this);
|
||||
t.next().hasClass("nice-select") || s(t);
|
||||
}),
|
||||
e(document).off(".nice_select"),
|
||||
e(document).on("click.nice_select", ".nice-select", function (t) {
|
||||
var s = e(this);
|
||||
e(".nice-select").not(s).removeClass("open"),
|
||||
s.toggleClass("open"),
|
||||
s.hasClass("open")
|
||||
? (s.find(".option"),
|
||||
s.find(".focus").removeClass("focus"),
|
||||
s.find(".selected").addClass("focus"))
|
||||
: s.focus();
|
||||
}),
|
||||
e(document).on("click.nice_select", function (t) {
|
||||
0 === e(t.target).closest(".nice-select").length &&
|
||||
e(".nice-select").removeClass("open").find(".option");
|
||||
}),
|
||||
e(document).on(
|
||||
"click.nice_select",
|
||||
".nice-select .option:not(.disabled)",
|
||||
function (t) {
|
||||
var s = e(this),
|
||||
n = s.closest(".nice-select");
|
||||
n.find(".selected").removeClass("selected"), s.addClass("selected");
|
||||
var i = s.data("display") || s.text();
|
||||
n.find(".current").text(i),
|
||||
n.prev("select").val(s.data("value")).trigger("change");
|
||||
}
|
||||
),
|
||||
e(document).on("keydown.nice_select", ".nice-select", function (t) {
|
||||
var s = e(this),
|
||||
n = e(s.find(".focus") || s.find(".list .option.selected"));
|
||||
if (32 == t.keyCode || 13 == t.keyCode)
|
||||
return s.hasClass("open") ? n.trigger("click") : s.trigger("click"), !1;
|
||||
if (40 == t.keyCode) {
|
||||
if (s.hasClass("open")) {
|
||||
var i = n.nextAll(".option:not(.disabled)").first();
|
||||
i.length > 0 &&
|
||||
(s.find(".focus").removeClass("focus"), i.addClass("focus"));
|
||||
} else s.trigger("click");
|
||||
return !1;
|
||||
}
|
||||
if (38 == t.keyCode) {
|
||||
if (s.hasClass("open")) {
|
||||
var l = n.prevAll(".option:not(.disabled)").first();
|
||||
l.length > 0 &&
|
||||
(s.find(".focus").removeClass("focus"), l.addClass("focus"));
|
||||
} else s.trigger("click");
|
||||
return !1;
|
||||
}
|
||||
if (27 == t.keyCode) s.hasClass("open") && s.trigger("click");
|
||||
else if (9 == t.keyCode && s.hasClass("open")) return !1;
|
||||
});
|
||||
var n = document.createElement("a").style;
|
||||
return (
|
||||
(n.cssText = "pointer-events:auto"),
|
||||
"auto" !== n.pointerEvents && e("html").addClass("no-csspointerevents"),
|
||||
this
|
||||
);
|
||||
};
|
||||
})(jQuery);
|
||||
138
build/resources/main/static/pc/vendor/jquery-nice-select/nice-select.css
vendored
Normal file
138
build/resources/main/static/pc/vendor/jquery-nice-select/nice-select.css
vendored
Normal file
@@ -0,0 +1,138 @@
|
||||
.nice-select {
|
||||
-webkit-tap-highlight-color: transparent;
|
||||
background-color: #fff;
|
||||
border-radius: 5px;
|
||||
border: solid 1px #e8e8e8;
|
||||
box-sizing: border-box;
|
||||
clear: both;
|
||||
cursor: pointer;
|
||||
display: block;
|
||||
float: left;
|
||||
font-family: inherit;
|
||||
font-size: 14px;
|
||||
font-weight: normal;
|
||||
height: 42px;
|
||||
line-height: 40px;
|
||||
outline: none;
|
||||
padding-left: 18px;
|
||||
padding-right: 30px;
|
||||
position: relative;
|
||||
text-align: left !important;
|
||||
-webkit-transition: all 0.2s ease-in-out;
|
||||
transition: all 0.2s ease-in-out;
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
white-space: nowrap;
|
||||
width: auto; }
|
||||
.nice-select:hover {
|
||||
border-color: #dbdbdb; }
|
||||
.nice-select:active, .nice-select.open, .nice-select:focus {
|
||||
border-color: #999; }
|
||||
.nice-select:after {
|
||||
border-bottom: 2px solid #999;
|
||||
border-right: 2px solid #999;
|
||||
content: '';
|
||||
display: block;
|
||||
height: 5px;
|
||||
margin-top: -4px;
|
||||
pointer-events: none;
|
||||
position: absolute;
|
||||
right: 12px;
|
||||
top: 50%;
|
||||
-webkit-transform-origin: 66% 66%;
|
||||
-ms-transform-origin: 66% 66%;
|
||||
transform-origin: 66% 66%;
|
||||
-webkit-transform: rotate(45deg);
|
||||
-ms-transform: rotate(45deg);
|
||||
transform: rotate(45deg);
|
||||
-webkit-transition: all 0.15s ease-in-out;
|
||||
transition: all 0.15s ease-in-out;
|
||||
width: 5px; }
|
||||
.nice-select.open:after {
|
||||
-webkit-transform: rotate(-135deg);
|
||||
-ms-transform: rotate(-135deg);
|
||||
transform: rotate(-135deg); }
|
||||
.nice-select.open .list {
|
||||
opacity: 1;
|
||||
pointer-events: auto;
|
||||
-webkit-transform: scale(1) translateY(0);
|
||||
-ms-transform: scale(1) translateY(0);
|
||||
transform: scale(1) translateY(0); }
|
||||
.nice-select.disabled {
|
||||
border-color: #ededed;
|
||||
color: #999;
|
||||
pointer-events: none; }
|
||||
.nice-select.disabled:after {
|
||||
border-color: #cccccc; }
|
||||
.nice-select.wide {
|
||||
width: 100%; }
|
||||
.nice-select.wide .list {
|
||||
left: 0 !important;
|
||||
right: 0 !important; }
|
||||
.nice-select.right {
|
||||
float: right; }
|
||||
.nice-select.right .list {
|
||||
left: auto;
|
||||
right: 0; }
|
||||
.nice-select.small {
|
||||
font-size: 12px;
|
||||
height: 36px;
|
||||
line-height: 34px; }
|
||||
.nice-select.small:after {
|
||||
height: 4px;
|
||||
width: 4px; }
|
||||
.nice-select.small .option {
|
||||
line-height: 34px;
|
||||
min-height: 34px; }
|
||||
.nice-select .list {
|
||||
background-color: #fff;
|
||||
border-radius: 5px;
|
||||
box-shadow: 0 0 0 1px rgba(68, 68, 68, 0.11);
|
||||
box-sizing: border-box;
|
||||
margin-top: 4px;
|
||||
opacity: 0;
|
||||
overflow: hidden;
|
||||
padding: 0;
|
||||
pointer-events: none;
|
||||
position: absolute;
|
||||
top: 100%;
|
||||
left: 0;
|
||||
-webkit-transform-origin: 50% 0;
|
||||
-ms-transform-origin: 50% 0;
|
||||
transform-origin: 50% 0;
|
||||
-webkit-transform: scale(0.75) translateY(-21px);
|
||||
-ms-transform: scale(0.75) translateY(-21px);
|
||||
transform: scale(0.75) translateY(-21px);
|
||||
-webkit-transition: all 0.2s cubic-bezier(0.5, 0, 0, 1.25), opacity 0.15s ease-out;
|
||||
transition: all 0.2s cubic-bezier(0.5, 0, 0, 1.25), opacity 0.15s ease-out;
|
||||
z-index: 9; }
|
||||
.nice-select .list:hover .option:not(:hover) {
|
||||
background-color: transparent !important; }
|
||||
.nice-select .option {
|
||||
cursor: pointer;
|
||||
font-weight: 400;
|
||||
line-height: 40px;
|
||||
list-style: none;
|
||||
min-height: 40px;
|
||||
outline: none;
|
||||
padding-left: 18px;
|
||||
padding-right: 29px;
|
||||
text-align: left;
|
||||
-webkit-transition: all 0.2s;
|
||||
transition: all 0.2s; }
|
||||
.nice-select .option:hover, .nice-select .option.focus, .nice-select .option.selected.focus {
|
||||
background-color: #f6f6f6; }
|
||||
.nice-select .option.selected {
|
||||
font-weight: bold; }
|
||||
.nice-select .option.disabled {
|
||||
background-color: transparent;
|
||||
color: #999;
|
||||
cursor: default; }
|
||||
|
||||
.no-csspointerevents .nice-select .list {
|
||||
display: none; }
|
||||
|
||||
.no-csspointerevents .nice-select.open .list {
|
||||
display: block; }
|
||||
7
build/resources/main/static/pc/vendor/jquery-ui/jquery-ui.min.css
vendored
Normal file
7
build/resources/main/static/pc/vendor/jquery-ui/jquery-ui.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
6
build/resources/main/static/pc/vendor/jquery-ui/jquery-ui.min.js
vendored
Normal file
6
build/resources/main/static/pc/vendor/jquery-ui/jquery-ui.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
271
build/resources/main/static/pc/vendor/jquery-ui/jquery-ui.structure.css
vendored
Normal file
271
build/resources/main/static/pc/vendor/jquery-ui/jquery-ui.structure.css
vendored
Normal file
@@ -0,0 +1,271 @@
|
||||
/*!
|
||||
* jQuery UI CSS Framework 1.13.2
|
||||
* http://jqueryui.com
|
||||
*
|
||||
* Copyright jQuery Foundation and other contributors
|
||||
* Released under the MIT license.
|
||||
* http://jquery.org/license
|
||||
*
|
||||
* http://api.jqueryui.com/category/theming/
|
||||
*/
|
||||
/* Layout helpers
|
||||
----------------------------------*/
|
||||
.ui-helper-hidden {
|
||||
display: none;
|
||||
}
|
||||
.ui-helper-hidden-accessible {
|
||||
border: 0;
|
||||
clip: rect(0 0 0 0);
|
||||
height: 1px;
|
||||
margin: -1px;
|
||||
overflow: hidden;
|
||||
padding: 0;
|
||||
position: absolute;
|
||||
width: 1px;
|
||||
}
|
||||
.ui-helper-reset {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
border: 0;
|
||||
outline: 0;
|
||||
line-height: 1.3;
|
||||
text-decoration: none;
|
||||
font-size: 100%;
|
||||
list-style: none;
|
||||
}
|
||||
.ui-helper-clearfix:before,
|
||||
.ui-helper-clearfix:after {
|
||||
content: "";
|
||||
display: table;
|
||||
border-collapse: collapse;
|
||||
}
|
||||
.ui-helper-clearfix:after {
|
||||
clear: both;
|
||||
}
|
||||
.ui-helper-zfix {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
top: 0;
|
||||
left: 0;
|
||||
position: absolute;
|
||||
opacity: 0;
|
||||
-ms-filter: "alpha(opacity=0)"; /* support: IE8 */
|
||||
}
|
||||
|
||||
.ui-front {
|
||||
z-index: 100;
|
||||
}
|
||||
|
||||
|
||||
/* Interaction Cues
|
||||
----------------------------------*/
|
||||
.ui-state-disabled {
|
||||
cursor: default !important;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
|
||||
/* Icons
|
||||
----------------------------------*/
|
||||
.ui-icon {
|
||||
display: inline-block;
|
||||
vertical-align: middle;
|
||||
margin-top: -.25em;
|
||||
position: relative;
|
||||
text-indent: -99999px;
|
||||
overflow: hidden;
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
|
||||
.ui-widget-icon-block {
|
||||
left: 50%;
|
||||
margin-left: -8px;
|
||||
display: block;
|
||||
}
|
||||
|
||||
/* Misc visuals
|
||||
----------------------------------*/
|
||||
|
||||
/* Overlays */
|
||||
.ui-widget-overlay {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
.ui-datepicker {
|
||||
width: 17em;
|
||||
padding: .2em .2em 0;
|
||||
display: none;
|
||||
}
|
||||
.ui-datepicker .ui-datepicker-header {
|
||||
position: relative;
|
||||
padding: .2em 0;
|
||||
}
|
||||
.ui-datepicker .ui-datepicker-prev,
|
||||
.ui-datepicker .ui-datepicker-next {
|
||||
position: absolute;
|
||||
top: 2px;
|
||||
width: 1.8em;
|
||||
height: 1.8em;
|
||||
}
|
||||
.ui-datepicker .ui-datepicker-prev-hover,
|
||||
.ui-datepicker .ui-datepicker-next-hover {
|
||||
top: 1px;
|
||||
}
|
||||
.ui-datepicker .ui-datepicker-prev {
|
||||
left: 2px;
|
||||
}
|
||||
.ui-datepicker .ui-datepicker-next {
|
||||
right: 2px;
|
||||
}
|
||||
.ui-datepicker .ui-datepicker-prev-hover {
|
||||
left: 1px;
|
||||
}
|
||||
.ui-datepicker .ui-datepicker-next-hover {
|
||||
right: 1px;
|
||||
}
|
||||
.ui-datepicker .ui-datepicker-prev span,
|
||||
.ui-datepicker .ui-datepicker-next span {
|
||||
display: block;
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
margin-left: -8px;
|
||||
top: 50%;
|
||||
margin-top: -8px;
|
||||
}
|
||||
.ui-datepicker .ui-datepicker-title {
|
||||
margin: 0 2.3em;
|
||||
line-height: 1.8em;
|
||||
text-align: center;
|
||||
}
|
||||
.ui-datepicker .ui-datepicker-title select {
|
||||
font-size: 1em;
|
||||
margin: 1px 0;
|
||||
}
|
||||
.ui-datepicker select.ui-datepicker-month,
|
||||
.ui-datepicker select.ui-datepicker-year {
|
||||
width: 45%;
|
||||
}
|
||||
.ui-datepicker table {
|
||||
width: 100%;
|
||||
font-size: .9em;
|
||||
border-collapse: collapse;
|
||||
margin: 0 0 .4em;
|
||||
}
|
||||
.ui-datepicker th {
|
||||
padding: .7em .3em;
|
||||
text-align: center;
|
||||
font-weight: bold;
|
||||
border: 0;
|
||||
}
|
||||
.ui-datepicker td {
|
||||
border: 0;
|
||||
padding: 1px;
|
||||
}
|
||||
.ui-datepicker td span,
|
||||
.ui-datepicker td a {
|
||||
display: block;
|
||||
padding: .2em;
|
||||
text-align: right;
|
||||
text-decoration: none;
|
||||
}
|
||||
.ui-datepicker .ui-datepicker-buttonpane {
|
||||
background-image: none;
|
||||
margin: .7em 0 0 0;
|
||||
padding: 0 .2em;
|
||||
border-left: 0;
|
||||
border-right: 0;
|
||||
border-bottom: 0;
|
||||
}
|
||||
.ui-datepicker .ui-datepicker-buttonpane button {
|
||||
float: right;
|
||||
margin: .5em .2em .4em;
|
||||
cursor: pointer;
|
||||
padding: .2em .6em .3em .6em;
|
||||
width: auto;
|
||||
overflow: visible;
|
||||
}
|
||||
.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current {
|
||||
float: left;
|
||||
}
|
||||
|
||||
/* with multiple calendars */
|
||||
.ui-datepicker.ui-datepicker-multi {
|
||||
width: auto;
|
||||
}
|
||||
.ui-datepicker-multi .ui-datepicker-group {
|
||||
float: left;
|
||||
}
|
||||
.ui-datepicker-multi .ui-datepicker-group table {
|
||||
width: 95%;
|
||||
margin: 0 auto .4em;
|
||||
}
|
||||
.ui-datepicker-multi-2 .ui-datepicker-group {
|
||||
width: 50%;
|
||||
}
|
||||
.ui-datepicker-multi-3 .ui-datepicker-group {
|
||||
width: 33.3%;
|
||||
}
|
||||
.ui-datepicker-multi-4 .ui-datepicker-group {
|
||||
width: 25%;
|
||||
}
|
||||
.ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header,
|
||||
.ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header {
|
||||
border-left-width: 0;
|
||||
}
|
||||
.ui-datepicker-multi .ui-datepicker-buttonpane {
|
||||
clear: left;
|
||||
}
|
||||
.ui-datepicker-row-break {
|
||||
clear: both;
|
||||
width: 100%;
|
||||
font-size: 0;
|
||||
}
|
||||
|
||||
/* RTL support */
|
||||
.ui-datepicker-rtl {
|
||||
direction: rtl;
|
||||
}
|
||||
.ui-datepicker-rtl .ui-datepicker-prev {
|
||||
right: 2px;
|
||||
left: auto;
|
||||
}
|
||||
.ui-datepicker-rtl .ui-datepicker-next {
|
||||
left: 2px;
|
||||
right: auto;
|
||||
}
|
||||
.ui-datepicker-rtl .ui-datepicker-prev:hover {
|
||||
right: 1px;
|
||||
left: auto;
|
||||
}
|
||||
.ui-datepicker-rtl .ui-datepicker-next:hover {
|
||||
left: 1px;
|
||||
right: auto;
|
||||
}
|
||||
.ui-datepicker-rtl .ui-datepicker-buttonpane {
|
||||
clear: right;
|
||||
}
|
||||
.ui-datepicker-rtl .ui-datepicker-buttonpane button {
|
||||
float: left;
|
||||
}
|
||||
.ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current,
|
||||
.ui-datepicker-rtl .ui-datepicker-group {
|
||||
float: right;
|
||||
}
|
||||
.ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header,
|
||||
.ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header {
|
||||
border-right-width: 0;
|
||||
border-left-width: 1px;
|
||||
}
|
||||
|
||||
/* Icons */
|
||||
.ui-datepicker .ui-icon {
|
||||
display: block;
|
||||
text-indent: -99999px;
|
||||
overflow: hidden;
|
||||
background-repeat: no-repeat;
|
||||
left: .5em;
|
||||
top: .3em;
|
||||
}
|
||||
274
build/resources/main/static/pc/vendor/jquery.vticker.js
vendored
Normal file
274
build/resources/main/static/pc/vendor/jquery.vticker.js
vendored
Normal file
@@ -0,0 +1,274 @@
|
||||
|
||||
/*
|
||||
Vertical News Ticker 1.21
|
||||
|
||||
Original by: Tadas Juozapaitis ( kasp3rito [eta] gmail (dot) com )
|
||||
https://github.com/kasp3r/vTicker
|
||||
|
||||
Forked/Modified by: Richard Hollis @richhollis - richhollis.co.uk
|
||||
*/
|
||||
(function($) {
|
||||
var defaults, internal, methods;
|
||||
defaults = {
|
||||
speed: 700,
|
||||
pause: 4000,
|
||||
showItems: 1,
|
||||
mousePause: true,
|
||||
height: 0,
|
||||
animate: true,
|
||||
margin: 0,
|
||||
padding: 0,
|
||||
startPaused: false,
|
||||
autoAppend: true
|
||||
};
|
||||
internal = {
|
||||
moveUp: function(state, attribs) {
|
||||
return internal.showNextItem(state, attribs, 'up');
|
||||
},
|
||||
moveDown: function(state, attribs) {
|
||||
return internal.showNextItem(state, attribs, 'down');
|
||||
},
|
||||
nextItemState: function(state, dir) {
|
||||
var height, obj;
|
||||
obj = state.element.children('ul');
|
||||
height = state.itemHeight;
|
||||
if (state.options.height > 0) {
|
||||
height = obj.children('li:first').height();
|
||||
}
|
||||
height += state.options.margin + state.options.padding * 2;
|
||||
return {
|
||||
height: height,
|
||||
options: state.options,
|
||||
el: state.element,
|
||||
obj: obj,
|
||||
selector: dir === 'up' ? 'li:first' : 'li:last',
|
||||
dir: dir
|
||||
};
|
||||
},
|
||||
showNextItem: function(state, attribs, dir) {
|
||||
var clone, nis;
|
||||
nis = internal.nextItemState(state, dir);
|
||||
nis.el.trigger('vticker.beforeTick');
|
||||
clone = nis.obj.children(nis.selector).clone(true);
|
||||
if (nis.dir === 'down') {
|
||||
nis.obj.css('top', '-' + nis.height + 'px').prepend(clone);
|
||||
}
|
||||
if (attribs && attribs.animate) {
|
||||
if (!state.animating) {
|
||||
internal.animateNextItem(nis, state);
|
||||
}
|
||||
} else {
|
||||
internal.nonAnimatedNextItem(nis);
|
||||
}
|
||||
if (nis.dir === 'up' && state.options.autoAppend) {
|
||||
clone.appendTo(nis.obj);
|
||||
}
|
||||
return nis.el.trigger('vticker.afterTick');
|
||||
},
|
||||
animateNextItem: function(nis, state) {
|
||||
var opts;
|
||||
state.animating = true;
|
||||
opts = nis.dir === 'up' ? {
|
||||
top: '-=' + nis.height + 'px'
|
||||
} : {
|
||||
top: 0
|
||||
};
|
||||
return nis.obj.animate(opts, state.options.speed, function() {
|
||||
$(nis.obj).children(nis.selector).remove();
|
||||
$(nis.obj).css('top', '0px');
|
||||
return state.animating = false;
|
||||
});
|
||||
},
|
||||
nonAnimatedNextItem: function(nis) {
|
||||
nis.obj.children(nis.selector).remove();
|
||||
return nis.obj.css('top', '0px');
|
||||
},
|
||||
nextUsePause: function() {
|
||||
var options, state;
|
||||
state = $(this).data('state');
|
||||
options = state.options;
|
||||
if (state.isPaused || internal.hasSingleItem(state)) {
|
||||
return;
|
||||
}
|
||||
return methods.next.call(this, {
|
||||
animate: options.animate
|
||||
});
|
||||
},
|
||||
startInterval: function() {
|
||||
var options, state;
|
||||
state = $(this).data('state');
|
||||
options = state.options;
|
||||
return state.intervalId = setInterval((function(_this) {
|
||||
return function() {
|
||||
return internal.nextUsePause.call(_this);
|
||||
};
|
||||
})(this), options.pause);
|
||||
},
|
||||
stopInterval: function() {
|
||||
var state;
|
||||
if (!(state = $(this).data('state'))) {
|
||||
return;
|
||||
}
|
||||
if (state.intervalId) {
|
||||
clearInterval(state.intervalId);
|
||||
}
|
||||
return state.intervalId = void 0;
|
||||
},
|
||||
restartInterval: function() {
|
||||
internal.stopInterval.call(this);
|
||||
return internal.startInterval.call(this);
|
||||
},
|
||||
getState: function(from, elem) {
|
||||
var state;
|
||||
if (!(state = $(elem).data('state'))) {
|
||||
throw new Error("vTicker: No state available from " + from);
|
||||
}
|
||||
return state;
|
||||
},
|
||||
isAnimatingOrSingleItem: function(state) {
|
||||
return state.animating || this.hasSingleItem(state);
|
||||
},
|
||||
hasMultipleItems: function(state) {
|
||||
return state.itemCount > 1;
|
||||
},
|
||||
hasSingleItem: function(state) {
|
||||
return !internal.hasMultipleItems(state);
|
||||
},
|
||||
bindMousePausing: (function(_this) {
|
||||
return function(el, state) {
|
||||
return el.bind('mouseenter', function() {
|
||||
if (state.isPaused) {
|
||||
return;
|
||||
}
|
||||
state.pausedByCode = true;
|
||||
internal.stopInterval.call(this);
|
||||
return methods.pause.call(this, true);
|
||||
}).bind('mouseleave', function() {
|
||||
if (state.isPaused && !state.pausedByCode) {
|
||||
return;
|
||||
}
|
||||
state.pausedByCode = false;
|
||||
methods.pause.call(this, false);
|
||||
return internal.startInterval.call(this);
|
||||
});
|
||||
};
|
||||
})(this),
|
||||
setItemLayout: function(el, state, options) {
|
||||
var box;
|
||||
el.css({
|
||||
overflow: 'hidden',
|
||||
position: 'relative'
|
||||
}).children('ul').css({
|
||||
position: 'absolute',
|
||||
margin: 0,
|
||||
padding: 0
|
||||
}).children('li').css({
|
||||
margin: options.margin,
|
||||
padding: options.padding
|
||||
});
|
||||
if (isNaN(options.height) || options.height === 0) {
|
||||
el.children('ul').children('li').each(function() {
|
||||
if ($(this).height() > state.itemHeight) {
|
||||
return state.itemHeight = $(this).height();
|
||||
}
|
||||
});
|
||||
el.children('ul').children('li').each(function() {
|
||||
return $(this).height(state.itemHeight);
|
||||
});
|
||||
box = options.margin + options.padding * 2;
|
||||
return el.height((state.itemHeight + box) * options.showItems + options.margin);
|
||||
} else {
|
||||
return el.height(options.height);
|
||||
}
|
||||
},
|
||||
defaultStateAttribs: function(el, options) {
|
||||
return {
|
||||
itemCount: el.children('ul').children('li').length,
|
||||
itemHeight: 0,
|
||||
itemMargin: 0,
|
||||
element: el,
|
||||
animating: false,
|
||||
options: options,
|
||||
isPaused: options.startPaused,
|
||||
pausedByCode: false
|
||||
};
|
||||
}
|
||||
};
|
||||
methods = {
|
||||
init: function(options) {
|
||||
var clonedDefaults, el, state;
|
||||
if (state = $(this).data('state')) {
|
||||
methods.stop.call(this);
|
||||
}
|
||||
state = null;
|
||||
clonedDefaults = jQuery.extend({}, defaults);
|
||||
options = $.extend(clonedDefaults, options);
|
||||
el = $(this);
|
||||
state = internal.defaultStateAttribs(el, options);
|
||||
$(this).data('state', state);
|
||||
internal.setItemLayout(el, state, options);
|
||||
if (!options.startPaused) {
|
||||
internal.startInterval.call(this);
|
||||
}
|
||||
if (options.mousePause) {
|
||||
return internal.bindMousePausing(el, state);
|
||||
}
|
||||
},
|
||||
pause: function(pauseState) {
|
||||
var el, state;
|
||||
state = internal.getState('pause', this);
|
||||
if (!internal.hasMultipleItems(state)) {
|
||||
return false;
|
||||
}
|
||||
state.isPaused = pauseState;
|
||||
el = state.element;
|
||||
if (pauseState) {
|
||||
$(this).addClass('paused');
|
||||
return el.trigger('vticker.pause');
|
||||
} else {
|
||||
$(this).removeClass('paused');
|
||||
return el.trigger('vticker.resume');
|
||||
}
|
||||
},
|
||||
next: function(attribs) {
|
||||
var state;
|
||||
state = internal.getState('next', this);
|
||||
if (internal.isAnimatingOrSingleItem(state)) {
|
||||
return false;
|
||||
}
|
||||
internal.restartInterval.call(this);
|
||||
return internal.moveUp(state, attribs);
|
||||
},
|
||||
prev: function(attribs) {
|
||||
var state;
|
||||
state = internal.getState('prev', this);
|
||||
if (internal.isAnimatingOrSingleItem(state)) {
|
||||
return false;
|
||||
}
|
||||
internal.restartInterval.call(this);
|
||||
return internal.moveDown(state, attribs);
|
||||
},
|
||||
stop: function() {
|
||||
var state;
|
||||
state = internal.getState('stop', this);
|
||||
return internal.stopInterval.call(this);
|
||||
},
|
||||
remove: function() {
|
||||
var el, state;
|
||||
state = internal.getState('remove', this);
|
||||
internal.stopInterval.call(this);
|
||||
el = state.element;
|
||||
el.unbind();
|
||||
return el.remove();
|
||||
}
|
||||
};
|
||||
return $.fn.vTicker = function(method) {
|
||||
if (methods[method]) {
|
||||
return methods[method].apply(this, Array.prototype.slice.call(arguments, 1));
|
||||
}
|
||||
if (typeof method === 'object' || !method) {
|
||||
return methods.init.apply(this, arguments);
|
||||
}
|
||||
return $.error('Method ' + method + ' does not exist on jQuery.vTicker');
|
||||
};
|
||||
})(jQuery);
|
||||
6
build/resources/main/static/pc/vendor/popModal/popModal.min.css
vendored
Normal file
6
build/resources/main/static/pc/vendor/popModal/popModal.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
42
build/resources/main/static/pc/vendor/popModal/popModal.min.js
vendored
Normal file
42
build/resources/main/static/pc/vendor/popModal/popModal.min.js
vendored
Normal file
@@ -0,0 +1,42 @@
|
||||
/*
|
||||
popModal - 1.26 [27.10.17]
|
||||
Author: vadimsva
|
||||
Github: https://github.com/vadimsva/popModal
|
||||
*/
|
||||
$(function(){(function(a){a.fn.popModal=function(c){function f(){function b(a){var b=Math.max(u,v,w);return("bottomLeft"==a?0<v:"bottomRight"==a?0<u:0<w)?a:0<v&&v==b?"bottomLeft":0<u&&u==b?"bottomRight":0<w&&w==b?"bottomCenter":a}if(e.inline)var g=d.position().left,c=d.position().top;else g=d.offset().left,c=d.offset().top;var k=parseInt(d.css("marginLeft"));parseInt(d.css("paddingLeft"));var f=parseInt(d.css("marginTop")),p=d.outerHeight(),m=d.outerWidth(),n=h.outerWidth(),q=h.outerHeight(),l,r=
|
||||
d.offset().left,A=a(window).width()-d.offset().left-m,C=d.offset().top,D=r-10-n,u=m+r-n,E=A-10-n,v=m+A-n,w=Math.min(m/2+A-n/2,m/2+r-n/2);r=C-q/2;if(/^top/.test(e.placement)||""==e.placement)e.placement="bottomLeft";/^bottom/.test(e.placement)?l=b(e.placement):/^left/.test(e.placement)?l=0<D?"leftCenter"==e.placement&&0<r?"leftCenter":"leftTop":b("bottomLeft"):/^right/.test(e.placement)&&(l=0<E?"rightCenter"==e.placement&&0<r?"rightCenter":"rightTop":b("bottomRight"));h.removeAttr("class").addClass("popModal animated "+
|
||||
l);switch(l){case "bottomLeft":h.css({top:c+f+p+10+"px",left:g+k+"px"}).addClass("fadeInBottom");break;case "bottomRight":h.css({top:c+f+p+10+"px",left:g+k+m-n+"px"}).addClass("fadeInBottom");break;case "bottomCenter":h.css({top:c+f+p+10+"px",left:g+k+(m-n)/2+"px"}).addClass("fadeInBottom");break;case "leftTop":h.css({top:c+f+"px",left:g+k-n-10+"px"}).addClass("fadeInLeft");break;case "rightTop":h.css({top:c+f+"px",left:g+k+m+10+"px"}).addClass("fadeInRight");break;case "leftCenter":h.css({top:c+
|
||||
f+p/2-q/2+"px",left:g+k-n-10+"px"}).addClass("fadeInLeft");break;case "rightCenter":h.css({top:c+f+p/2-q/2+"px",left:g+k+m+10+"px"}).addClass("fadeInRight")}}function g(){h=a("div[data-popmodal]");d.removeAttr("data-popmodal_id");h.length&&(b(),q||(q=h.css("animationDuration"),q=void 0!==q?1E3*q.replace("s",""):0),setTimeout(function(){a(".popModal_source").replaceWith(a(".popModal_content").children());h.remove();a("html.popModalOpen").off(".popModalEvent").removeClass("popModalOpen")},q))}function b(){var a=
|
||||
h.attr("class"),b=a.replace("fadeIn","fadeOut");h.removeClass(a).addClass(b)}var d=a(this),h,n="",p="",m,e,q,k,l={init:function(b){e=a.extend({html:"",placement:"bottomLeft",showCloseBut:!0,onDocumentClickClose:!0,onDocumentClickClosePrevent:"",overflowContent:!1,inline:!0,asMenu:!1,size:"",onOkBut:function(){return!0},onCancelBut:function(){},onLoad:function(){},onClose:function(){}},b);if(0!==a("body").find("div[data-popmodal]").length&&a("body").find("div[data-popmodal]").attr("data-popmodal_id")==
|
||||
d.attr("data-popmodal_id"))g();else{a("html.popModalOpen").off(".popModalEvent").removeClass("popModalOpen");a(".popModal_source").replaceWith(a(".popModal_content").children());a(".popModal").remove();e.asMenu?m=" popModal_asMenu":(m="",e.showCloseBut&&(n=a('<button type="button" class="close">×</button>')),e.overflowContent&&(p=" popModal_contentOverflow"));k=(new Date).getMilliseconds();d.attr("data-popmodal_id",k);b=a('<div class="popModal animated" style="'+("fixed"==d.css("position")?
|
||||
"position:fixed;":"")+'" data-popmodal_id="'+k+'" data-popmodal="open"></div>');var c=a('<div class="popModal_content'+p+m+'"></div>');b.append(n,c);if(a.isPlainObject(e.html)){c.append(e.html.loadingText);var l={url:e.html.url};e.html.method&&(l.method=e.html.method);e.html.data&&(l.data=e.html.data);e.html.dataType&&(l.dataType=e.html.dataType);a.ajax(l).done(function(a){c.empty().append(a)}).fail(function(){e.html.errorText&&c.empty().append(e.html.errorText)})}else"object"==a.type(e.html)?e.html.after(a('<div class="popModal_source"></div>')):
|
||||
"string"==a.type(e.html)&&(e.html=a("<div></div>").append(e.html)),c.append(e.html);500>=a(window).width()&&(e.inline=!0);e.inline?d.after(b):a("body").append(b);c[0].scrollWidth>c[0].offsetWidth&&""==e.size&&(b.css({maxWidth:"400px"}),c.addClass("popModal_contentOverflow"));if(a.isPlainObject(e.size)||/^{/i.test(e.size))/^{/i.test(e.size)&&(e.size=a.parseJSON(e.size.replace(new RegExp(/'/,"g"),'"'))),e.size.width&&b.css({maxWidth:e.size.width+"px"}),e.size.height&&(c.addClass("popModal_contentOverflow"),
|
||||
c.css({maxHeight:e.size.height+"px"}));h=a("div[data-popmodal]");b=h.find(".popModal_footer");0!=b.length&&h.find(".popModal_content").css({marginBottom:b.outerHeight()+15+"px"});if(e.onLoad&&a.isFunction(e.onLoad))e.onLoad(h);a(e.html).trigger("load",{el:h});h.on("destroyed",function(){if(e.onClose&&a.isFunction(e.onClose))e.onClose(h);a(e.html).trigger("close",{el:h})});f();if(e.onDocumentClickClose)a("html").on("click.popModalEvent",function(b){a(this).addClass("popModalOpen");h.is(":hidden")&&
|
||||
g();var c=a(b.target);c.parents().addBack().is(".popModal")||c.parents().addBack().is(d)||(b=parseInt(c.parents().filter(function(){return"auto"!==a(this).css("zIndex")}).first().css("zIndex")),isNaN(b)&&(b=0),""!==e.onDocumentClickClosePrevent&&c.is(e.onDocumentClickClosePrevent)&&(b=9999),c=c.css("zIndex"),"auto"==c&&(c=0),b<c&&(b=c),b<=h.css("zIndex")&&g())});a(window).resize(function(){f()});h.find(".close").on("click",function(){g();a(this).off("click")});h.find('[data-popmodal-but="close"]').on("click",
|
||||
function(){g();a(this).off("click")});h.find('[data-popmodal-but="ok"]').on("click",function(b){var c;e.onOkBut&&a.isFunction(e.onOkBut)&&(c=e.onOkBut(b,h));!1!==c&&g();a(this).off("click");a(e.html).trigger("okbut",{event:b,el:h})});h.find('[data-popmodal-but="cancel"]').on("click",function(b){if(e.onCancelBut&&a.isFunction(e.onCancelBut))e.onCancelBut(b,h);g();a(this).off("click");a(e.html).trigger("cancelbut",{event:b,el:h})});a("html").on("keydown.popModalEvent",function(a){27==a.keyCode&&g()})}return h},
|
||||
hide:function(){g()}};if(l[c])return l[c].apply(this,Array.prototype.slice.call(arguments,1));if("object"===typeof c||!c)return l.init.apply(this,arguments)};a("* [data-popmodal-bind]").bind("click",function(){var c=a(this).attr("data-popmodal-bind");c={html:a(c)};void 0!==a(this).attr("data-placement")&&(c.placement=a(this).attr("data-placement"));void 0!==a(this).attr("data-showclose-but")&&(c.showCloseBut=/^true$/i.test(a(this).attr("data-showclose-but")));void 0!==a(this).attr("data-overflowcontent")&&
|
||||
(c.overflowContent=/^false$/i.test(a(this).attr("data-overflowcontent")));void 0!==a(this).attr("data-ondocumentclick-close")&&(c.onDocumentClickClose=/^true$/i.test(a(this).attr("data-ondocumentclick-close")));void 0!==a(this).attr("data-ondocumentclick-close-prevent")&&(c.onDocumentClickClosePrevent=a(this).attr("data-ondocumentclick-close-prevent"));void 0!==a(this).attr("data-inline")&&(c.inline=/^true$/i.test(a(this).attr("data-inline")));void 0!==a(this).attr("data-asmenu")&&(c.asMenu=/^false$/i.test(a(this).attr("data-asmenu")));
|
||||
void 0!==a(this).attr("data-size")&&(c.size=a(this).attr("data-size"));a(this).popModal(c)});a.event.special.destroyed={remove:function(a){a.handler&&a.handler()}}})(jQuery);(function(a){a.fn.notifyModal=function(c){function f(){var b=a(".notifyModal");b.removeClass("open");setTimeout(function(){b.remove();-1!=d.duration&&clearTimeout(notifDur);if(d.onClose&&a.isFunction(d.onClose))d.onClose(b);b.trigger("close",{el:b})},h)}var g=a(this),b,d,h,n={init:function(c){d=a.extend({duration:2500,placement:"center",
|
||||
type:"notify",overlay:!0,icon:!1,onLoad:function(){},onClose:function(){}},c);a(".notifyModal").remove();c=a('<div class="notifyModal '+d.placement+" "+(d.overlay?"overlay":"")+" "+d.type+" "+(d.icon?"icon":"")+'"></div>');var m=a('<div class="notifyModal_content"></div>'),e=a('<button type="button" class="close">×</button>');g=void 0===g[0]?g.selector:g[0].innerHTML;m.append(e,g);c.append(m);a("body").append(c);b=a(".notifyModal");h||(h=b.css("transitionDuration"),h=void 0!==h?1E3*h.replace("s",
|
||||
""):0);if(d.onLoad&&a.isFunction(d.onLoad))d.onLoad(b);c.trigger("load",{el:b});b.addClass("open");b.click(function(){f()});-1!=d.duration&&(notifDur=setTimeout(f,d.duration))},hide:function(){f()}};a("html").keydown(function(a){27==a.keyCode&&f()});if(n[c])return n[c].apply(this,Array.prototype.slice.call(arguments,1));if("object"===typeof c||!c)return n.init.apply(this,arguments)};a("* [data-notifymodal-bind]").bind("click",function(){var c=a(this).attr("data-notifymodal-bind"),f={};void 0!==a(this).attr("data-duration")&&
|
||||
(f.duration=parseInt(a(this).attr("data-duration")));void 0!==a(this).attr("data-placement")&&(f.placement=a(this).attr("data-placement"));void 0!==a(this).attr("data-type")&&(f.type=a(this).attr("data-type"));void 0!==a(this).attr("data-overlay")&&(f.overlay=/^true$/i.test(a(this).attr("data-overlay")));void 0!==a(this).attr("data-icon")&&(f.icon=/^false$/i.test(a(this).attr("data-overlay")));a(c).notifyModal(f)})})(jQuery);(function(a){a.fn.hintModal=function(c){a(".hintModal").off();var f={init:function(){function c(b,
|
||||
c){var d=b.attr("class");var g=b.outerWidth();var f=c.outerWidth(),m=b.offset().left,e=a(window).width()-b.offset().left-g,q=g+m-f,k=g+e-f,l=Math.min(g/2+e-f/2,g/2+m-f/2);g=b.hasClass("bottomLeft")?"bottomLeft":b.hasClass("bottomCenter")?"bottomCenter":b.hasClass("bottomRight")?"bottomRight":"bottomLeft";void 0===b.data("placement")&&b.data("placement",g);b.removeAttr("class").addClass(d+" "+function(a){var b=Math.max(q,k,l);return("bottomLeft"==a?0<k:"bottomRight"==a?0<q:0<l)?a:0<k&&k==b?"bottomLeft":
|
||||
0<q&&q==b?"bottomRight":0<l&&l==b?"bottomCenter":a}(b.data("placement")))}a(this).on("mouseenter",function(){var b=a(this).find("> .hintModal_container");1<b[0].textContent.length&&(b.addClass("animated fadeInBottom"),c(a(this),b))});a(this).on("mouseleave",function(){var b=a(this).find("> .hintModal_container");1<b[0].textContent.length&&b.removeClass("animated fadeInBottom")})}};if(f[c])return f[c].apply(this,Array.prototype.slice.call(arguments,1));if("object"===typeof c||!c)return f.init.apply(this,
|
||||
arguments)};a(".hintModal").hintModal();document.addEventListener("DOMNodeInserted",function(c){a(c.target).hasClass("hintModal")&&a(".hintModal").hintModal()},!1)})(jQuery);(function(a){a.fn.dialogModal=function(c){function f(){var b=a(".dialogModal");b.removeClass("open");setTimeout(function(){b.remove();a("body").removeClass("dialogModalOpen").css({paddingRight:""});a("html.dialogModalOpen").off(".dialogModalEvent").removeClass("dialogModalOpen");b.find(".dialogPrev").off("click");b.find(".dialogNext").off("click")},
|
||||
h);a(".dialogModal_source").replaceWith(n.children())}var g=a(this),b,d,h,n=a("<div></div>"),p={init:function(c){function e(){b.find('[data-dialogmodal-but="close"]').on("click",function(){f();a(this).off("click")});b.find('[data-dialogmodal-but="ok"]').on("click",function(c){var e;d.onOkBut&&a.isFunction(d.onOkBut)&&(e=d.onOkBut(c,b,k+1));!1!==e&&f();a(this).off("click");g.trigger("okbut",{event:c,el:b,current:k+1})});b.find('[data-dialogmodal-but="cancel"]').on("click",function(c){if(d.onCancelBut&&
|
||||
a.isFunction(d.onCancelBut))d.onCancelBut(c,b,k+1);f();a(this).off("click");g.trigger("cancelbut",{event:c,el:b,current:k+1})});b.find('[data-dialogmodal-but="prev"]').on("click",function(){b.find(".dialogPrev").click()});b.find('[data-dialogmodal-but="next"]').on("click",function(){b.find(".dialogNext").click()})}function m(){y.empty().append(g[k].innerHTML);t.find("span").html(g.find(".dialogModal_header")[k].innerHTML);e();if(d.onChange&&a.isFunction(d.onChange))d.onChange(b,k+1);g.trigger("change",
|
||||
{el:b,current:k+1})}d=a.extend({topOffset:0,top:0,onDocumentClickClose:!1,onOkBut:function(){return!0},onCancelBut:function(){},onLoad:function(){},onClose:function(){},onChange:function(){}},c);a("html.dialogModalOpen").off(".dialogModalEvent").removeClass("dialogModalOpen");a(".dialogModal .dialogPrev, .dialogModal .dialogNext").off("click");a(".dialogModal").remove();0!=d.top&&(d.top="calc("+d.top+" + 60px)");var k=0,l=g.length-1;c=a('<div class="dialogModal '+(0!=d.top?" modal":"")+'" style="top:'+
|
||||
(isNaN(d.topOffset)?d.topOffset:d.topOffset+"px")+'"></div>');var p=a('<div class="dialogModal_container" style="top:'+(isNaN(d.top)?d.top:d.top+"px")+'"></div>'),x=a('<div class="dialogModal_top animated"></div>'),t=a('<div class="dialogModal_header"></div>'),y=a('<div class="dialogModal_body animated"></div>'),B=a('<button type="button" class="close">×</button>');c.append(p);p.append(x,y);x.append(t);t.append(B);y.append(g[k].innerHTML);g.each(function(){n.append(a(this))});g.parent().append(a('<div class="dialogModal_source"></div>'));
|
||||
0<l&&t.append(a('<div class="dialogNext">›</div><div class="dialogPrev notactive">‹</div>'));t.append("<span>"+g.find(".dialogModal_header")[k].innerHTML+"</span>");a("body").append(c).addClass("dialogModalOpen");0==d.top&&(c=c.outerWidth()-p[0].scrollWidth,x.css({right:c+"px"}));b=a(".dialogModal");h||(h=b.css("transitionDuration"),h=void 0!==h?1E3*h.replace("s",""):0);if(d.onLoad&&a.isFunction(d.onLoad))d.onLoad(b,k+1);g.trigger("load",{el:b,current:k+1});b.on("destroyed",function(){if(d.onClose&&
|
||||
a.isFunction(d.onClose))d.onClose(b,k+1);g.trigger("close",{el:b,current:k+1})});b.addClass("open");setTimeout(function(){0!=d.top&&p.css({opacity:1});x.addClass("fadeInTopBig");y.addClass("fadeInTopBig")},h+100);e();if(d.onDocumentClickClose)a(".dialogModal_container").on("click.dialogModalEvent",function(b){a(this).addClass("dialogModalOpen");b=a(b.target);b.parents().addBack().is(".dialogModal_body")||b.parents().addBack().is(".dialogModal_header")||f()});b.find(".dialogPrev").on("click",function(){0<
|
||||
k&&(--k,k<l&&b.find(".dialogNext").removeClass("notactive"),0===k&&b.find(".dialogPrev").addClass("notactive"),m())});b.find(".dialogNext").on("click",function(){k<l&&(++k,0<k&&b.find(".dialogPrev").removeClass("notactive"),k==l&&b.find(".dialogNext").addClass("notactive"),m())});b.find(".close").on("click",function(){f();a(this).off("click")});a("html").on("keydown.dialogModalEvent",function(a){27==a.keyCode?f():37==a.keyCode?b.find(".dialogPrev").click():39==a.keyCode&&b.find(".dialogNext").click()})},
|
||||
hide:function(){f()}};if(p[c])return p[c].apply(this,Array.prototype.slice.call(arguments,1));if("object"===typeof c||!c)return p.init.apply(this,arguments)};a("* [data-dialogmodal-bind]").bind("click",function(){var c=a(this).attr("data-dialogmodal-bind"),f={};void 0!==a(this).attr("data-topoffset")&&(f.topOffset=a(this).attr("data-topoffset"));void 0!==a(this).attr("data-top")&&(f.top=a(this).attr("data-top"));void 0!==a(this).attr("data-ondocumentclick-close")&&(f.onDocumentClickClose=/^false$/i.test(a(this).attr("data-ondocumentclick-close")));
|
||||
a(c).dialogModal(f)});a.event.special.destroyed={remove:function(a){a.handler&&a.handler()}}})(jQuery);(function(a){a.fn.titleModal=function(c){a(".titleModal").off();var f={init:function(){var c,b,d=a(".titleModal");d.on("mouseenter",function(){c=a(this);if(void 0!==c.attr("title")||"ellipsis"==c.css("textOverflow")||"clip"==c.css("textOverflow")){var d=void 0!==c.attr("title")?c.attr("title"):c.text();c.removeAttr("title");c.attr("data-title",d);var f=a('<div class="titleModal_container animated"></div>');
|
||||
b=a(".titleModal_container");var g=c.attr("data-placement");void 0===g&&(g="bottom");b&&b.remove();c.after(f.append(d));d=g;b=a(".titleModal_container");f=c.position().left;g=c.position().top;var m=c.css("marginLeft"),e=c.css("marginTop"),q=c.outerHeight(),k=c.outerWidth(),l=b.outerWidth(),z=b.outerHeight();switch(d){case "bottom":b.css({top:g+parseInt(e)+q-5+"px",left:f+parseInt(m)+(k-l)/2+"px"}).addClass("fadeInBottom");break;case "top":b.css({top:g+parseInt(e)-z+"px",left:f+parseInt(m)+(k-l)/2+
|
||||
"px"}).addClass("top fadeInTop");break;case "left":b.css({top:g+parseInt(e)+q/2-z/2+"px",left:f+parseInt(m)-l-10+"px"}).addClass("left fadeInLeft");break;case "right":b.css({top:g+parseInt(e)+q/2-z/2+"px",left:f+parseInt(m)+k+10+"px"}).addClass("right fadeInRight")}}});d.on("mouseleave",function(){c=a(this);if(void 0!==c.attr("data-title")){var d=c.attr("data-title");c.removeAttr("data-title");c.attr("title",d);d=b.attr("class");var f=d.replace("fadeIn","fadeOut");b.removeClass(d).addClass(f);b.remove()}})}};
|
||||
if(f[c])return f[c].apply(this,Array.prototype.slice.call(arguments,1));if("object"===typeof c||!c)return f.init.apply(this,arguments)};a(".titleModal").titleModal();document.addEventListener("DOMNodeInserted",function(c){a(c.target).hasClass("titleModal")&&a(".titleModal").titleModal()},!1)})(jQuery);(function(a){a.fn.confirmModal=function(c){function f(){var b=a(".confirmModal");b.removeClass("open");setTimeout(function(){b.remove();a("body").removeClass("confirmModalOpen").css({paddingRight:""});
|
||||
a("html.confirmModalOpen").off(".confirmModalEvent").removeClass("confirmModalOpen")},h);a(".confirmModal_source").replaceWith(n.children())}var g=a(this),b,d,h,n=a("<div></div>"),p={init:function(c){d=a.extend({topOffset:0,top:0,onOkBut:function(){return!0},onCancelBut:function(){},onLoad:function(){},onClose:function(){}},c);a("html.confirmModalOpen").off(".confirmModalEvent").removeClass("confirmModalOpen");a(".confirmModal").remove();c=a('<div class="confirmModal" style="top:'+(isNaN(d.topOffset)?
|
||||
d.topOffset:d.topOffset+"px")+'"></div>');var e=a('<div class="confirmModal_body animated'+(0!=d.top?" modal":"")+'" style="top:'+(isNaN(d.top)?d.top:d.top+"px")+'"></div>');c.append(e);e.append(g[0].innerHTML);g.each(function(){n.append(a(this))});g.parent().append(a('<div class="confirmModal_source"></div>'));a("body").append(c).addClass("confirmModalOpen");b=a(".confirmModal");h||(h=b.css("transitionDuration"),h=void 0!==h?1E3*h.replace("s",""):0);if(d.onLoad&&a.isFunction(d.onLoad))d.onLoad(b);
|
||||
g.trigger("load",{el:b});b.on("destroyed",function(){if(d.onClose&&a.isFunction(d.onClose))d.onClose(b);g.trigger("close",{el:b})});b.addClass("open");setTimeout(function(){e.addClass("fadeInTopBig");setTimeout(function(){e.removeClass("fadeInTopBig").addClass("open")},h+100)},h+100);(function(){function c(){e.addClass("needConfirm");setTimeout(function(){e.removeClass("needConfirm")},h+100)}b.find('[data-confirmmodal-but="close"]').on("click",function(){f();a(this).off("click")});b.find('[data-confirmmodal-but="ok"]').on("click",
|
||||
function(c){var e;d.onOkBut&&a.isFunction(d.onOkBut)&&(e=d.onOkBut(c,b));!1!==e&&f();g.trigger("okbut",{event:c,el:b});a(this).off("click")});b.find('[data-confirmmodal-but="cancel"]').on("click",function(c){if(d.onCancelBut&&a.isFunction(d.onCancelBut))d.onCancelBut(c,b);g.trigger("cancelbut",{event:c,el:b});f();a(this).off("click")});b.on("click",function(b){a(b.target).parents().addBack().is(e)||c()});a("html").on("keydown.confirmModalEvent",function(a){27==a.keyCode&&c()})})()},hide:function(){f()}};
|
||||
if(p[c])return p[c].apply(this,Array.prototype.slice.call(arguments,1));if("object"===typeof c||!c)return p.init.apply(this,arguments)};a("* [data-confirmmodal-bind]").bind("click",function(){var c=a(this).attr("data-confirmmodal-bind"),f={};void 0!==a(this).attr("data-topoffset")&&(f.topOffset=a(this).attr("data-topoffset"));void 0!==a(this).attr("data-top")&&(f.top=a(this).attr("data-top"));a(c).confirmModal(f)});a.event.special.destroyed={remove:function(a){a.handler&&a.handler()}}})(jQuery)});
|
||||
913
build/resources/main/static/pc/vendor/popModal/popModal_fixed.js
vendored
Normal file
913
build/resources/main/static/pc/vendor/popModal/popModal_fixed.js
vendored
Normal file
@@ -0,0 +1,913 @@
|
||||
/*
|
||||
popModal - 1.26 [27.10.17]
|
||||
Author: vadimsva
|
||||
Github: https://github.com/vadimsva/popModal
|
||||
*/
|
||||
$(function () {
|
||||
(function (a) {
|
||||
a.fn.popModal = function (c) {
|
||||
function f() {
|
||||
function b(a) {
|
||||
var b = Math.max(u, v, w);
|
||||
return ("bottomLeft" == a ? 0 < v : "bottomRight" == a ? 0 < u : 0 < w)
|
||||
? a
|
||||
: 0 < v && v == b
|
||||
? "bottomLeft"
|
||||
: 0 < u && u == b
|
||||
? "bottomRight"
|
||||
: 0 < w && w == b
|
||||
? "bottomCenter"
|
||||
: a;
|
||||
}
|
||||
if (e.inline)
|
||||
var g = d.position().left,
|
||||
c = d.position().top;
|
||||
else (g = d.offset().left), (c = d.offset().top);
|
||||
var k = parseInt(d.css("marginLeft"));
|
||||
parseInt(d.css("paddingLeft"));
|
||||
var f = parseInt(d.css("marginTop")),
|
||||
p = d.outerHeight(),
|
||||
m = d.outerWidth(),
|
||||
n = h.outerWidth(),
|
||||
q = h.outerHeight(),
|
||||
l,
|
||||
r = d.offset().left,
|
||||
A = a(window).width() - d.offset().left - m,
|
||||
C = d.offset().top,
|
||||
D = r - 10 - n,
|
||||
u = m + r - n,
|
||||
E = A - 10 - n,
|
||||
v = m + A - n,
|
||||
w = Math.min(m / 2 + A - n / 2, m / 2 + r - n / 2);
|
||||
r = C - q / 2;
|
||||
if (/^top/.test(e.placement) || "" == e.placement) e.placement = "bottomLeft";
|
||||
/^bottom/.test(e.placement)
|
||||
? (l = b(e.placement))
|
||||
: /^left/.test(e.placement)
|
||||
? (l =
|
||||
0 < D
|
||||
? "leftCenter" == e.placement && 0 < r
|
||||
? "leftCenter"
|
||||
: "leftTop"
|
||||
: b("bottomLeft"))
|
||||
: /^right/.test(e.placement) &&
|
||||
(l =
|
||||
0 < E
|
||||
? "rightCenter" == e.placement && 0 < r
|
||||
? "rightCenter"
|
||||
: "rightTop"
|
||||
: b("bottomRight"));
|
||||
h.removeAttr("class").addClass("popModal animated " + l);
|
||||
switch (l) {
|
||||
case "bottomLeft":
|
||||
h.css({ top: c + f + p + 10 + "px", left: g + k + "px" }).addClass(
|
||||
"fadeInBottom"
|
||||
);
|
||||
break;
|
||||
case "bottomRight":
|
||||
h.css({ top: c + f + p + 10 + "px", left: g + k + m - n + "px" }).addClass(
|
||||
"fadeInBottom"
|
||||
);
|
||||
break;
|
||||
case "bottomCenter":
|
||||
h.css({
|
||||
top: c + f + p + 10 + "px",
|
||||
left: g + k + (m - n) / 2 + "px",
|
||||
}).addClass("fadeInBottom");
|
||||
break;
|
||||
case "leftTop":
|
||||
h.css({ top: c + f + "px", left: g + k - n - 10 + "px" }).addClass(
|
||||
"fadeInLeft"
|
||||
);
|
||||
break;
|
||||
case "rightTop":
|
||||
h.css({ top: c + f + "px", left: g + k + m + 10 + "px" }).addClass(
|
||||
"fadeInRight"
|
||||
);
|
||||
break;
|
||||
case "leftCenter":
|
||||
h.css({
|
||||
top: c + f + p / 2 - q / 2 + "px",
|
||||
left: g + k - n - 10 + "px",
|
||||
}).addClass("fadeInLeft");
|
||||
break;
|
||||
case "rightCenter":
|
||||
h.css({
|
||||
top: c + f + p / 2 - q / 2 + "px",
|
||||
left: g + k + m + 10 + "px",
|
||||
}).addClass("fadeInRight");
|
||||
}
|
||||
}
|
||||
function g() {
|
||||
h = a("div[data-popmodal]");
|
||||
d.removeAttr("data-popmodal_id");
|
||||
h.length &&
|
||||
(b(),
|
||||
q ||
|
||||
((q = h.css("animationDuration")),
|
||||
(q = void 0 !== q ? 1e3 * q.replace("s", "") : 0)),
|
||||
setTimeout(function () {
|
||||
a(".popModal_source").replaceWith(a(".popModal_content").children());
|
||||
h.remove();
|
||||
a("html.popModalOpen").off(".popModalEvent").removeClass("popModalOpen");
|
||||
}, q));
|
||||
}
|
||||
function b() {
|
||||
var a = h.attr("class"),
|
||||
b = a.replace("fadeIn", "fadeOut");
|
||||
h.removeClass(a).addClass(b);
|
||||
}
|
||||
var d = a(this),
|
||||
h,
|
||||
n = "",
|
||||
p = "",
|
||||
m,
|
||||
e,
|
||||
q,
|
||||
k,
|
||||
l = {
|
||||
init: function (b) {
|
||||
e = a.extend(
|
||||
{
|
||||
html: "",
|
||||
placement: "bottomLeft",
|
||||
showCloseBut: !0,
|
||||
onDocumentClickClose: !0,
|
||||
onDocumentClickClosePrevent: "",
|
||||
overflowContent: !1,
|
||||
inline: !0,
|
||||
asMenu: !1,
|
||||
size: "",
|
||||
onOkBut: function () {
|
||||
return !0;
|
||||
},
|
||||
onCancelBut: function () {},
|
||||
onLoad: function () {},
|
||||
onClose: function () {},
|
||||
},
|
||||
b
|
||||
);
|
||||
if (
|
||||
0 !== a("body").find("div[data-popmodal]").length &&
|
||||
a("body").find("div[data-popmodal]").attr("data-popmodal_id") ==
|
||||
d.attr("data-popmodal_id")
|
||||
)
|
||||
g();
|
||||
else {
|
||||
a("html.popModalOpen")
|
||||
.off(".popModalEvent")
|
||||
.removeClass("popModalOpen");
|
||||
a(".popModal_source").replaceWith(a(".popModal_content").children());
|
||||
a(".popModal").remove();
|
||||
e.asMenu
|
||||
? (m = " popModal_asMenu")
|
||||
: ((m = ""),
|
||||
e.showCloseBut &&
|
||||
(n = a(
|
||||
'<button type="button" class="close">×</button>'
|
||||
)),
|
||||
e.overflowContent && (p = " popModal_contentOverflow"));
|
||||
k = new Date().getMilliseconds();
|
||||
d.attr("data-popmodal_id", k);
|
||||
b = a(
|
||||
'<div class="popModal animated" style="' +
|
||||
("fixed" == d.css("position") ? "position:fixed;" : "") +
|
||||
'" data-popmodal_id="' +
|
||||
k +
|
||||
'" data-popmodal="open"></div>'
|
||||
);
|
||||
var c = a('<div class="popModal_content' + p + m + '"></div>');
|
||||
b.append(n, c);
|
||||
if (a.isPlainObject(e.html)) {
|
||||
c.append(e.html.loadingText);
|
||||
var l = { url: e.html.url };
|
||||
e.html.method && (l.method = e.html.method);
|
||||
e.html.data && (l.data = e.html.data);
|
||||
e.html.dataType && (l.dataType = e.html.dataType);
|
||||
a.ajax(l)
|
||||
.done(function (a) {
|
||||
c.empty().append(a);
|
||||
})
|
||||
.fail(function () {
|
||||
e.html.errorText && c.empty().append(e.html.errorText);
|
||||
});
|
||||
} else
|
||||
"object" == a.type(e.html)
|
||||
? e.html.after(a('<div class="popModal_source"></div>'))
|
||||
: "string" == a.type(e.html) &&
|
||||
(e.html = a("<div></div>").append(e.html)),
|
||||
c.append(e.html);
|
||||
500 >= a(window).width() && (e.inline = !0);
|
||||
e.inline ? d.after(b) : a("body").append(b);
|
||||
c[0].scrollWidth > c[0].offsetWidth &&
|
||||
"" == e.size &&
|
||||
(b.css({ maxWidth: "400px" }),
|
||||
c.addClass("popModal_contentOverflow"));
|
||||
if (a.isPlainObject(e.size) || /^{/i.test(e.size))
|
||||
/^{/i.test(e.size) &&
|
||||
(e.size = a.parseJSON(
|
||||
e.size.replace(new RegExp(/'/, "g"), '"')
|
||||
)),
|
||||
e.size.width && b.css({ maxWidth: e.size.width + "px" }),
|
||||
e.size.height &&
|
||||
(c.addClass("popModal_contentOverflow"),
|
||||
c.css({ maxHeight: e.size.height + "px" }));
|
||||
h = a("div[data-popmodal]");
|
||||
b = h.find(".popModal_footer");
|
||||
0 != b.length &&
|
||||
h
|
||||
.find(".popModal_content")
|
||||
.css({ marginBottom: b.outerHeight() + 15 + "px" });
|
||||
if (e.onLoad && a.isFunction(e.onLoad)) e.onLoad(h);
|
||||
a(e.html).trigger("load", { el: h });
|
||||
h.on("destroyed", function () {
|
||||
if (e.onClose && a.isFunction(e.onClose)) e.onClose(h);
|
||||
a(e.html).trigger("close", { el: h });
|
||||
});
|
||||
f();
|
||||
if (e.onDocumentClickClose)
|
||||
a("html").on("click.popModalEvent", function (b) {
|
||||
a(this).addClass("popModalOpen");
|
||||
h.is(":hidden") && g();
|
||||
var c = a(b.target);
|
||||
c.parents().addBack().is(".popModal") ||
|
||||
c.parents().addBack().is(d) ||
|
||||
((b = parseInt(
|
||||
c
|
||||
.parents()
|
||||
.filter(function () {
|
||||
return "auto" !== a(this).css("zIndex");
|
||||
})
|
||||
.first()
|
||||
.css("zIndex")
|
||||
)),
|
||||
isNaN(b) && (b = 0),
|
||||
"" !== e.onDocumentClickClosePrevent &&
|
||||
c.is(e.onDocumentClickClosePrevent) &&
|
||||
(b = 9999),
|
||||
(c = c.css("zIndex")),
|
||||
"auto" == c && (c = 0),
|
||||
b < c && (b = c),
|
||||
b <= h.css("zIndex") && g());
|
||||
});
|
||||
a(window).resize(function () {
|
||||
f();
|
||||
});
|
||||
h.find(".close").on("click", function () {
|
||||
g();
|
||||
a(this).off("click");
|
||||
});
|
||||
h.find('[data-popmodal-but="close"]').on("click", function () {
|
||||
g();
|
||||
a(this).off("click");
|
||||
});
|
||||
h.find('[data-popmodal-but="ok"]').on("click", function (b) {
|
||||
var c;
|
||||
e.onOkBut && a.isFunction(e.onOkBut) && (c = e.onOkBut(b, h));
|
||||
!1 !== c && g();
|
||||
a(this).off("click");
|
||||
a(e.html).trigger("okbut", { event: b, el: h });
|
||||
});
|
||||
h.find('[data-popmodal-but="cancel"]').on("click", function (b) {
|
||||
if (e.onCancelBut && a.isFunction(e.onCancelBut))
|
||||
e.onCancelBut(b, h);
|
||||
g();
|
||||
a(this).off("click");
|
||||
a(e.html).trigger("cancelbut", { event: b, el: h });
|
||||
});
|
||||
a("html").on("keydown.popModalEvent", function (a) {
|
||||
27 == a.keyCode && g();
|
||||
});
|
||||
}
|
||||
return h;
|
||||
},
|
||||
hide: function () {
|
||||
g();
|
||||
},
|
||||
};
|
||||
if (l[c]) return l[c].apply(this, Array.prototype.slice.call(arguments, 1));
|
||||
if ("object" === typeof c || !c) return l.init.apply(this, arguments);
|
||||
};
|
||||
a("* [data-popmodal-bind]").bind("click", function () {
|
||||
var c = a(this).attr("data-popmodal-bind");
|
||||
c = { html: a(c) };
|
||||
void 0 !== a(this).attr("data-placement") &&
|
||||
(c.placement = a(this).attr("data-placement"));
|
||||
void 0 !== a(this).attr("data-showclose-but") &&
|
||||
(c.showCloseBut = /^true$/i.test(a(this).attr("data-showclose-but")));
|
||||
void 0 !== a(this).attr("data-overflowcontent") &&
|
||||
(c.overflowContent = /^false$/i.test(a(this).attr("data-overflowcontent")));
|
||||
void 0 !== a(this).attr("data-ondocumentclick-close") &&
|
||||
(c.onDocumentClickClose = /^true$/i.test(
|
||||
a(this).attr("data-ondocumentclick-close")
|
||||
));
|
||||
void 0 !== a(this).attr("data-ondocumentclick-close-prevent") &&
|
||||
(c.onDocumentClickClosePrevent = a(this).attr(
|
||||
"data-ondocumentclick-close-prevent"
|
||||
));
|
||||
void 0 !== a(this).attr("data-inline") &&
|
||||
(c.inline = /^true$/i.test(a(this).attr("data-inline")));
|
||||
void 0 !== a(this).attr("data-asmenu") &&
|
||||
(c.asMenu = /^false$/i.test(a(this).attr("data-asmenu")));
|
||||
void 0 !== a(this).attr("data-size") && (c.size = a(this).attr("data-size"));
|
||||
a(this).popModal(c);
|
||||
});
|
||||
a.event.special.destroyed = {
|
||||
remove: function (a) {
|
||||
a.handler && a.handler();
|
||||
},
|
||||
};
|
||||
})(jQuery);
|
||||
(function (a) {
|
||||
a.fn.notifyModal = function (c) {
|
||||
function f() {
|
||||
var b = a(".notifyModal");
|
||||
b.removeClass("open");
|
||||
setTimeout(function () {
|
||||
b.remove();
|
||||
-1 != d.duration && clearTimeout(notifDur);
|
||||
if (d.onClose && a.isFunction(d.onClose)) d.onClose(b);
|
||||
b.trigger("close", { el: b });
|
||||
}, h);
|
||||
}
|
||||
var g = a(this),
|
||||
b,
|
||||
d,
|
||||
h,
|
||||
n = {
|
||||
init: function (c) {
|
||||
d = a.extend(
|
||||
{
|
||||
duration: 2500,
|
||||
placement: "center",
|
||||
type: "notify",
|
||||
overlay: !0,
|
||||
icon: !1,
|
||||
onLoad: function () {},
|
||||
onClose: function () {},
|
||||
},
|
||||
c
|
||||
);
|
||||
a(".notifyModal").remove();
|
||||
c = a(
|
||||
'<div class="notifyModal ' +
|
||||
d.placement +
|
||||
" " +
|
||||
(d.overlay ? "overlay" : "") +
|
||||
" " +
|
||||
d.type +
|
||||
" " +
|
||||
(d.icon ? "icon" : "") +
|
||||
'"></div>'
|
||||
);
|
||||
var m = a('<div class="notifyModal_content"></div>'),
|
||||
e = a('<button type="button" class="close">×</button>');
|
||||
g = void 0 === g[0] ? g.selector : g[0].innerHTML;
|
||||
m.append(e, g);
|
||||
c.append(m);
|
||||
a("body").append(c);
|
||||
b = a(".notifyModal");
|
||||
h ||
|
||||
((h = b.css("transitionDuration")),
|
||||
(h = void 0 !== h ? 1e3 * h.replace("s", "") : 0));
|
||||
if (d.onLoad && a.isFunction(d.onLoad)) d.onLoad(b);
|
||||
c.trigger("load", { el: b });
|
||||
b.addClass("open");
|
||||
b.click(function () {
|
||||
f();
|
||||
});
|
||||
-1 != d.duration && (notifDur = setTimeout(f, d.duration));
|
||||
},
|
||||
hide: function () {
|
||||
f();
|
||||
},
|
||||
};
|
||||
a("html").keydown(function (a) {
|
||||
27 == a.keyCode && f();
|
||||
});
|
||||
if (n[c]) return n[c].apply(this, Array.prototype.slice.call(arguments, 1));
|
||||
if ("object" === typeof c || !c) return n.init.apply(this, arguments);
|
||||
};
|
||||
a("* [data-notifymodal-bind]").bind("click", function () {
|
||||
var c = a(this).attr("data-notifymodal-bind"),
|
||||
f = {};
|
||||
void 0 !== a(this).attr("data-duration") &&
|
||||
(f.duration = parseInt(a(this).attr("data-duration")));
|
||||
void 0 !== a(this).attr("data-placement") &&
|
||||
(f.placement = a(this).attr("data-placement"));
|
||||
void 0 !== a(this).attr("data-type") && (f.type = a(this).attr("data-type"));
|
||||
void 0 !== a(this).attr("data-overlay") &&
|
||||
(f.overlay = /^true$/i.test(a(this).attr("data-overlay")));
|
||||
void 0 !== a(this).attr("data-icon") &&
|
||||
(f.icon = /^false$/i.test(a(this).attr("data-overlay")));
|
||||
a(c).notifyModal(f);
|
||||
});
|
||||
})(jQuery);
|
||||
(function (a) {
|
||||
a.fn.hintModal = function (c) {
|
||||
a(".hintModal").off();
|
||||
var f = {
|
||||
init: function () {
|
||||
function c(b, c) {
|
||||
var d = b.attr("class");
|
||||
var g = b.outerWidth();
|
||||
var f = c.outerWidth(),
|
||||
m = b.offset().left,
|
||||
e = a(window).width() - b.offset().left - g,
|
||||
q = g + m - f,
|
||||
k = g + e - f,
|
||||
l = Math.min(g / 2 + e - f / 2, g / 2 + m - f / 2);
|
||||
g = b.hasClass("bottomLeft")
|
||||
? "bottomLeft"
|
||||
: b.hasClass("bottomCenter")
|
||||
? "bottomCenter"
|
||||
: b.hasClass("bottomRight")
|
||||
? "bottomRight"
|
||||
: "bottomLeft";
|
||||
void 0 === b.data("placement") && b.data("placement", g);
|
||||
b.removeAttr("class").addClass(
|
||||
d +
|
||||
" " +
|
||||
(function (a) {
|
||||
var b = Math.max(q, k, l);
|
||||
return (
|
||||
"bottomLeft" == a
|
||||
? 0 < k
|
||||
: "bottomRight" == a
|
||||
? 0 < q
|
||||
: 0 < l
|
||||
)
|
||||
? a
|
||||
: 0 < k && k == b
|
||||
? "bottomLeft"
|
||||
: 0 < q && q == b
|
||||
? "bottomRight"
|
||||
: 0 < l && l == b
|
||||
? "bottomCenter"
|
||||
: a;
|
||||
})(b.data("placement"))
|
||||
);
|
||||
}
|
||||
a(this).on("mouseenter", function () {
|
||||
var b = a(this).find("> .hintModal_container");
|
||||
1 < b[0].textContent.length &&
|
||||
(b.addClass("animated fadeInBottom"), c(a(this), b));
|
||||
});
|
||||
a(this).on("mouseleave", function () {
|
||||
var b = a(this).find("> .hintModal_container");
|
||||
1 < b[0].textContent.length && b.removeClass("animated fadeInBottom");
|
||||
});
|
||||
},
|
||||
};
|
||||
if (f[c]) return f[c].apply(this, Array.prototype.slice.call(arguments, 1));
|
||||
if ("object" === typeof c || !c) return f.init.apply(this, arguments);
|
||||
};
|
||||
a(".hintModal").hintModal();
|
||||
// document.addEventListener(
|
||||
// "DOMNodeInserted",
|
||||
// function (c) {
|
||||
// a(c.target).hasClass("hintModal") && a(".hintModal").hintModal();
|
||||
// },
|
||||
// !1
|
||||
// );
|
||||
|
||||
// 수정
|
||||
var observer = new MutationObserver(function (mutationsList) {
|
||||
for (var mutation of mutationsList) {
|
||||
if (mutation.type === "childList") {
|
||||
for (var node of mutation.addedNodes) {
|
||||
if (node.nodeType === 1 && a(node).hasClass("hintModal")) {
|
||||
a(".hintModal").hintModal();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
var config = { childList: true, subtree: true };
|
||||
observer.observe(document.body, config);
|
||||
})(jQuery);
|
||||
(function (a) {
|
||||
a.fn.dialogModal = function (c) {
|
||||
function f() {
|
||||
var b = a(".dialogModal");
|
||||
b.removeClass("open");
|
||||
setTimeout(function () {
|
||||
b.remove();
|
||||
a("body").removeClass("dialogModalOpen").css({ paddingRight: "" });
|
||||
a("html.dialogModalOpen")
|
||||
.off(".dialogModalEvent")
|
||||
.removeClass("dialogModalOpen");
|
||||
b.find(".dialogPrev").off("click");
|
||||
b.find(".dialogNext").off("click");
|
||||
}, h);
|
||||
a(".dialogModal_source").replaceWith(n.children());
|
||||
}
|
||||
var g = a(this),
|
||||
b,
|
||||
d,
|
||||
h,
|
||||
n = a("<div></div>"),
|
||||
p = {
|
||||
init: function (c) {
|
||||
function e() {
|
||||
b.find('[data-dialogmodal-but="close"]').on("click", function () {
|
||||
f();
|
||||
a(this).off("click");
|
||||
});
|
||||
b.find('[data-dialogmodal-but="ok"]').on("click", function (c) {
|
||||
var e;
|
||||
d.onOkBut &&
|
||||
a.isFunction(d.onOkBut) &&
|
||||
(e = d.onOkBut(c, b, k + 1));
|
||||
!1 !== e && f();
|
||||
a(this).off("click");
|
||||
g.trigger("okbut", { event: c, el: b, current: k + 1 });
|
||||
});
|
||||
b.find('[data-dialogmodal-but="cancel"]').on("click", function (c) {
|
||||
if (d.onCancelBut && a.isFunction(d.onCancelBut))
|
||||
d.onCancelBut(c, b, k + 1);
|
||||
f();
|
||||
a(this).off("click");
|
||||
g.trigger("cancelbut", { event: c, el: b, current: k + 1 });
|
||||
});
|
||||
b.find('[data-dialogmodal-but="prev"]').on("click", function () {
|
||||
b.find(".dialogPrev").click();
|
||||
});
|
||||
b.find('[data-dialogmodal-but="next"]').on("click", function () {
|
||||
b.find(".dialogNext").click();
|
||||
});
|
||||
}
|
||||
function m() {
|
||||
y.empty().append(g[k].innerHTML);
|
||||
t.find("span").html(g.find(".dialogModal_header")[k].innerHTML);
|
||||
e();
|
||||
if (d.onChange && a.isFunction(d.onChange)) d.onChange(b, k + 1);
|
||||
g.trigger("change", { el: b, current: k + 1 });
|
||||
}
|
||||
d = a.extend(
|
||||
{
|
||||
topOffset: 0,
|
||||
top: 0,
|
||||
onDocumentClickClose: !1,
|
||||
onOkBut: function () {
|
||||
return !0;
|
||||
},
|
||||
onCancelBut: function () {},
|
||||
onLoad: function () {},
|
||||
onClose: function () {},
|
||||
onChange: function () {},
|
||||
},
|
||||
c
|
||||
);
|
||||
a("html.dialogModalOpen")
|
||||
.off(".dialogModalEvent")
|
||||
.removeClass("dialogModalOpen");
|
||||
a(".dialogModal .dialogPrev, .dialogModal .dialogNext").off("click");
|
||||
a(".dialogModal").remove();
|
||||
0 != d.top && (d.top = "calc(" + d.top + " + 60px)");
|
||||
var k = 0,
|
||||
l = g.length - 1;
|
||||
c = a(
|
||||
'<div class="dialogModal ' +
|
||||
(0 != d.top ? " modal" : "") +
|
||||
'" style="top:' +
|
||||
(isNaN(d.topOffset) ? d.topOffset : d.topOffset + "px") +
|
||||
'"></div>'
|
||||
);
|
||||
var p = a(
|
||||
'<div class="dialogModal_container" style="top:' +
|
||||
(isNaN(d.top) ? d.top : d.top + "px") +
|
||||
'"></div>'
|
||||
),
|
||||
x = a('<div class="dialogModal_top animated"></div>'),
|
||||
t = a('<div class="dialogModal_header"></div>'),
|
||||
y = a('<div class="dialogModal_body animated"></div>'),
|
||||
B = a('<button type="button" class="close">×</button>');
|
||||
c.append(p);
|
||||
p.append(x, y);
|
||||
x.append(t);
|
||||
t.append(B);
|
||||
y.append(g[k].innerHTML);
|
||||
g.each(function () {
|
||||
n.append(a(this));
|
||||
});
|
||||
g.parent().append(a('<div class="dialogModal_source"></div>'));
|
||||
0 < l &&
|
||||
t.append(
|
||||
a(
|
||||
'<div class="dialogNext">›</div><div class="dialogPrev notactive">‹</div>'
|
||||
)
|
||||
);
|
||||
t.append("<span>" + g.find(".dialogModal_header")[k].innerHTML + "</span>");
|
||||
a("body").append(c).addClass("dialogModalOpen");
|
||||
0 == d.top &&
|
||||
((c = c.outerWidth() - p[0].scrollWidth), x.css({ right: c + "px" }));
|
||||
b = a(".dialogModal");
|
||||
h ||
|
||||
((h = b.css("transitionDuration")),
|
||||
(h = void 0 !== h ? 1e3 * h.replace("s", "") : 0));
|
||||
if (d.onLoad && a.isFunction(d.onLoad)) d.onLoad(b, k + 1);
|
||||
g.trigger("load", { el: b, current: k + 1 });
|
||||
b.on("destroyed", function () {
|
||||
if (d.onClose && a.isFunction(d.onClose)) d.onClose(b, k + 1);
|
||||
g.trigger("close", { el: b, current: k + 1 });
|
||||
});
|
||||
b.addClass("open");
|
||||
setTimeout(function () {
|
||||
0 != d.top && p.css({ opacity: 1 });
|
||||
x.addClass("fadeInTopBig");
|
||||
y.addClass("fadeInTopBig");
|
||||
}, h + 100);
|
||||
e();
|
||||
if (d.onDocumentClickClose)
|
||||
a(".dialogModal_container").on("click.dialogModalEvent", function (b) {
|
||||
a(this).addClass("dialogModalOpen");
|
||||
b = a(b.target);
|
||||
b.parents().addBack().is(".dialogModal_body") ||
|
||||
b.parents().addBack().is(".dialogModal_header") ||
|
||||
f();
|
||||
});
|
||||
b.find(".dialogPrev").on("click", function () {
|
||||
0 < k &&
|
||||
(--k,
|
||||
k < l && b.find(".dialogNext").removeClass("notactive"),
|
||||
0 === k && b.find(".dialogPrev").addClass("notactive"),
|
||||
m());
|
||||
});
|
||||
b.find(".dialogNext").on("click", function () {
|
||||
k < l &&
|
||||
(++k,
|
||||
0 < k && b.find(".dialogPrev").removeClass("notactive"),
|
||||
k == l && b.find(".dialogNext").addClass("notactive"),
|
||||
m());
|
||||
});
|
||||
b.find(".close").on("click", function () {
|
||||
f();
|
||||
a(this).off("click");
|
||||
});
|
||||
a("html").on("keydown.dialogModalEvent", function (a) {
|
||||
27 == a.keyCode
|
||||
? f()
|
||||
: 37 == a.keyCode
|
||||
? b.find(".dialogPrev").click()
|
||||
: 39 == a.keyCode && b.find(".dialogNext").click();
|
||||
});
|
||||
},
|
||||
hide: function () {
|
||||
f();
|
||||
},
|
||||
};
|
||||
if (p[c]) return p[c].apply(this, Array.prototype.slice.call(arguments, 1));
|
||||
if ("object" === typeof c || !c) return p.init.apply(this, arguments);
|
||||
};
|
||||
a("* [data-dialogmodal-bind]").bind("click", function () {
|
||||
var c = a(this).attr("data-dialogmodal-bind"),
|
||||
f = {};
|
||||
void 0 !== a(this).attr("data-topoffset") &&
|
||||
(f.topOffset = a(this).attr("data-topoffset"));
|
||||
void 0 !== a(this).attr("data-top") && (f.top = a(this).attr("data-top"));
|
||||
void 0 !== a(this).attr("data-ondocumentclick-close") &&
|
||||
(f.onDocumentClickClose = /^false$/i.test(
|
||||
a(this).attr("data-ondocumentclick-close")
|
||||
));
|
||||
a(c).dialogModal(f);
|
||||
});
|
||||
a.event.special.destroyed = {
|
||||
remove: function (a) {
|
||||
a.handler && a.handler();
|
||||
},
|
||||
};
|
||||
})(jQuery);
|
||||
(function (a) {
|
||||
a.fn.titleModal = function (c) {
|
||||
a(".titleModal").off();
|
||||
var f = {
|
||||
init: function () {
|
||||
var c,
|
||||
b,
|
||||
d = a(".titleModal");
|
||||
d.on("mouseenter", function () {
|
||||
c = a(this);
|
||||
if (
|
||||
void 0 !== c.attr("title") ||
|
||||
"ellipsis" == c.css("textOverflow") ||
|
||||
"clip" == c.css("textOverflow")
|
||||
) {
|
||||
var d = void 0 !== c.attr("title") ? c.attr("title") : c.text();
|
||||
c.removeAttr("title");
|
||||
c.attr("data-title", d);
|
||||
var f = a('<div class="titleModal_container animated"></div>');
|
||||
b = a(".titleModal_container");
|
||||
var g = c.attr("data-placement");
|
||||
void 0 === g && (g = "bottom");
|
||||
b && b.remove();
|
||||
c.after(f.append(d));
|
||||
d = g;
|
||||
b = a(".titleModal_container");
|
||||
f = c.position().left;
|
||||
g = c.position().top;
|
||||
var m = c.css("marginLeft"),
|
||||
e = c.css("marginTop"),
|
||||
q = c.outerHeight(),
|
||||
k = c.outerWidth(),
|
||||
l = b.outerWidth(),
|
||||
z = b.outerHeight();
|
||||
switch (d) {
|
||||
case "bottom":
|
||||
b.css({
|
||||
top: g + parseInt(e) + q - 5 + "px",
|
||||
left: f + parseInt(m) + (k - l) / 2 + "px",
|
||||
}).addClass("fadeInBottom");
|
||||
break;
|
||||
case "top":
|
||||
b.css({
|
||||
top: g + parseInt(e) - z + "px",
|
||||
left: f + parseInt(m) + (k - l) / 2 + "px",
|
||||
}).addClass("top fadeInTop");
|
||||
break;
|
||||
case "left":
|
||||
b.css({
|
||||
top: g + parseInt(e) + q / 2 - z / 2 + "px",
|
||||
left: f + parseInt(m) - l - 10 + "px",
|
||||
}).addClass("left fadeInLeft");
|
||||
break;
|
||||
case "right":
|
||||
b.css({
|
||||
top: g + parseInt(e) + q / 2 - z / 2 + "px",
|
||||
left: f + parseInt(m) + k + 10 + "px",
|
||||
}).addClass("right fadeInRight");
|
||||
}
|
||||
}
|
||||
});
|
||||
d.on("mouseleave", function () {
|
||||
c = a(this);
|
||||
if (void 0 !== c.attr("data-title")) {
|
||||
var d = c.attr("data-title");
|
||||
c.removeAttr("data-title");
|
||||
c.attr("title", d);
|
||||
d = b.attr("class");
|
||||
var f = d.replace("fadeIn", "fadeOut");
|
||||
b.removeClass(d).addClass(f);
|
||||
b.remove();
|
||||
}
|
||||
});
|
||||
},
|
||||
};
|
||||
if (f[c]) return f[c].apply(this, Array.prototype.slice.call(arguments, 1));
|
||||
if ("object" === typeof c || !c) return f.init.apply(this, arguments);
|
||||
};
|
||||
a(".titleModal").titleModal();
|
||||
// document.addEventListener(
|
||||
// "DOMNodeInserted",
|
||||
// function (c) {
|
||||
// a(c.target).hasClass("titleModal") && a(".titleModal").titleModal();
|
||||
// },
|
||||
// !1
|
||||
// );
|
||||
|
||||
// 수정
|
||||
var observer = new MutationObserver(function (mutationsList) {
|
||||
for (var mutation of mutationsList) {
|
||||
if (mutation.type === "childList") {
|
||||
for (var node of mutation.addedNodes) {
|
||||
if (node.nodeType === 1 && a(node).hasClass("titleModal")) {
|
||||
a(".titleModal").titleModal();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
var config = { childList: true, subtree: true };
|
||||
observer.observe(document.body, config);
|
||||
})(jQuery);
|
||||
(function (a) {
|
||||
a.fn.confirmModal = function (c) {
|
||||
function f() {
|
||||
var b = a(".confirmModal");
|
||||
b.removeClass("open");
|
||||
setTimeout(function () {
|
||||
b.remove();
|
||||
a("body").removeClass("confirmModalOpen").css({ paddingRight: "" });
|
||||
a("html.confirmModalOpen")
|
||||
.off(".confirmModalEvent")
|
||||
.removeClass("confirmModalOpen");
|
||||
}, h);
|
||||
a(".confirmModal_source").replaceWith(n.children());
|
||||
}
|
||||
var g = a(this),
|
||||
b,
|
||||
d,
|
||||
h,
|
||||
n = a("<div></div>"),
|
||||
p = {
|
||||
init: function (c) {
|
||||
d = a.extend(
|
||||
{
|
||||
topOffset: 0,
|
||||
top: 0,
|
||||
onOkBut: function () {
|
||||
return !0;
|
||||
},
|
||||
onCancelBut: function () {},
|
||||
onLoad: function () {},
|
||||
onClose: function () {},
|
||||
},
|
||||
c
|
||||
);
|
||||
a("html.confirmModalOpen")
|
||||
.off(".confirmModalEvent")
|
||||
.removeClass("confirmModalOpen");
|
||||
a(".confirmModal").remove();
|
||||
c = a(
|
||||
'<div class="confirmModal" style="top:' +
|
||||
(isNaN(d.topOffset) ? d.topOffset : d.topOffset + "px") +
|
||||
'"></div>'
|
||||
);
|
||||
var e = a(
|
||||
'<div class="confirmModal_body animated' +
|
||||
(0 != d.top ? " modal" : "") +
|
||||
'" style="top:' +
|
||||
(isNaN(d.top) ? d.top : d.top + "px") +
|
||||
'"></div>'
|
||||
);
|
||||
c.append(e);
|
||||
e.append(g[0].innerHTML);
|
||||
g.each(function () {
|
||||
n.append(a(this));
|
||||
});
|
||||
g.parent().append(a('<div class="confirmModal_source"></div>'));
|
||||
a("body").append(c).addClass("confirmModalOpen");
|
||||
b = a(".confirmModal");
|
||||
h ||
|
||||
((h = b.css("transitionDuration")),
|
||||
(h = void 0 !== h ? 1e3 * h.replace("s", "") : 0));
|
||||
if (d.onLoad && a.isFunction(d.onLoad)) d.onLoad(b);
|
||||
g.trigger("load", { el: b });
|
||||
b.on("destroyed", function () {
|
||||
if (d.onClose && a.isFunction(d.onClose)) d.onClose(b);
|
||||
g.trigger("close", { el: b });
|
||||
});
|
||||
b.addClass("open");
|
||||
setTimeout(function () {
|
||||
e.addClass("fadeInTopBig");
|
||||
setTimeout(function () {
|
||||
e.removeClass("fadeInTopBig").addClass("open");
|
||||
}, h + 100);
|
||||
}, h + 100);
|
||||
(function () {
|
||||
function c() {
|
||||
e.addClass("needConfirm");
|
||||
setTimeout(function () {
|
||||
e.removeClass("needConfirm");
|
||||
}, h + 100);
|
||||
}
|
||||
b.find('[data-confirmmodal-but="close"]').on("click", function () {
|
||||
f();
|
||||
a(this).off("click");
|
||||
});
|
||||
b.find('[data-confirmmodal-but="ok"]').on("click", function (c) {
|
||||
var e;
|
||||
d.onOkBut && a.isFunction(d.onOkBut) && (e = d.onOkBut(c, b));
|
||||
!1 !== e && f();
|
||||
g.trigger("okbut", { event: c, el: b });
|
||||
a(this).off("click");
|
||||
});
|
||||
b.find('[data-confirmmodal-but="cancel"]').on("click", function (c) {
|
||||
if (d.onCancelBut && a.isFunction(d.onCancelBut))
|
||||
d.onCancelBut(c, b);
|
||||
g.trigger("cancelbut", { event: c, el: b });
|
||||
f();
|
||||
a(this).off("click");
|
||||
});
|
||||
b.on("click", function (b) {
|
||||
a(b.target).parents().addBack().is(e) || c();
|
||||
});
|
||||
a("html").on("keydown.confirmModalEvent", function (a) {
|
||||
27 == a.keyCode && c();
|
||||
});
|
||||
})();
|
||||
},
|
||||
hide: function () {
|
||||
f();
|
||||
},
|
||||
};
|
||||
if (p[c]) return p[c].apply(this, Array.prototype.slice.call(arguments, 1));
|
||||
if ("object" === typeof c || !c) return p.init.apply(this, arguments);
|
||||
};
|
||||
a("* [data-confirmmodal-bind]").bind("click", function () {
|
||||
var c = a(this).attr("data-confirmmodal-bind"),
|
||||
f = {};
|
||||
void 0 !== a(this).attr("data-topoffset") &&
|
||||
(f.topOffset = a(this).attr("data-topoffset"));
|
||||
void 0 !== a(this).attr("data-top") && (f.top = a(this).attr("data-top"));
|
||||
a(c).confirmModal(f);
|
||||
});
|
||||
a.event.special.destroyed = {
|
||||
remove: function (a) {
|
||||
a.handler && a.handler();
|
||||
},
|
||||
};
|
||||
})(jQuery);
|
||||
});
|
||||
BIN
build/resources/main/static/pc/vendor/slick/ajax-loader.gif
vendored
Normal file
BIN
build/resources/main/static/pc/vendor/slick/ajax-loader.gif
vendored
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 4.1 KiB |
10
build/resources/main/static/pc/vendor/slick/config.rb
vendored
Normal file
10
build/resources/main/static/pc/vendor/slick/config.rb
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
css_dir = "."
|
||||
sass_dir = "."
|
||||
images_dir = "."
|
||||
fonts_dir = "fonts"
|
||||
relative_assets = true
|
||||
|
||||
output_style = :compact
|
||||
line_comments = false
|
||||
|
||||
preferred_syntax = :scss
|
||||
BIN
build/resources/main/static/pc/vendor/slick/fonts/slick.eot
vendored
Normal file
BIN
build/resources/main/static/pc/vendor/slick/fonts/slick.eot
vendored
Normal file
Binary file not shown.
14
build/resources/main/static/pc/vendor/slick/fonts/slick.svg
vendored
Normal file
14
build/resources/main/static/pc/vendor/slick/fonts/slick.svg
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
<?xml version="1.0" standalone="no"?>
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||
<svg xmlns="http://www.w3.org/2000/svg">
|
||||
<metadata>Generated by Fontastic.me</metadata>
|
||||
<defs>
|
||||
<font id="slick" horiz-adv-x="512">
|
||||
<font-face font-family="slick" units-per-em="512" ascent="480" descent="-32"/>
|
||||
<missing-glyph horiz-adv-x="512" />
|
||||
|
||||
<glyph unicode="→" d="M241 113l130 130c4 4 6 8 6 13 0 5-2 9-6 13l-130 130c-3 3-7 5-12 5-5 0-10-2-13-5l-29-30c-4-3-6-7-6-12 0-5 2-10 6-13l87-88-87-88c-4-3-6-8-6-13 0-5 2-9 6-12l29-30c3-3 8-5 13-5 5 0 9 2 12 5z m234 143c0-40-9-77-29-110-20-34-46-60-80-80-33-20-70-29-110-29-40 0-77 9-110 29-34 20-60 46-80 80-20 33-29 70-29 110 0 40 9 77 29 110 20 34 46 60 80 80 33 20 70 29 110 29 40 0 77-9 110-29 34-20 60-46 80-80 20-33 29-70 29-110z"/>
|
||||
<glyph unicode="←" d="M296 113l29 30c4 3 6 7 6 12 0 5-2 10-6 13l-87 88 87 88c4 3 6 8 6 13 0 5-2 9-6 12l-29 30c-3 3-8 5-13 5-5 0-9-2-12-5l-130-130c-4-4-6-8-6-13 0-5 2-9 6-13l130-130c3-3 7-5 12-5 5 0 10 2 13 5z m179 143c0-40-9-77-29-110-20-34-46-60-80-80-33-20-70-29-110-29-40 0-77 9-110 29-34 20-60 46-80 80-20 33-29 70-29 110 0 40 9 77 29 110 20 34 46 60 80 80 33 20 70 29 110 29 40 0 77-9 110-29 34-20 60-46 80-80 20-33 29-70 29-110z"/>
|
||||
<glyph unicode="•" d="M475 256c0-40-9-77-29-110-20-34-46-60-80-80-33-20-70-29-110-29-40 0-77 9-110 29-34 20-60 46-80 80-20 33-29 70-29 110 0 40 9 77 29 110 20 34 46 60 80 80 33 20 70 29 110 29 40 0 77-9 110-29 34-20 60-46 80-80 20-33 29-70 29-110z"/>
|
||||
<glyph unicode="a" d="M475 439l0-128c0-5-1-9-5-13-4-4-8-5-13-5l-128 0c-8 0-13 3-17 11-3 7-2 14 4 20l40 39c-28 26-62 39-100 39-20 0-39-4-57-11-18-8-33-18-46-32-14-13-24-28-32-46-7-18-11-37-11-57 0-20 4-39 11-57 8-18 18-33 32-46 13-14 28-24 46-32 18-7 37-11 57-11 23 0 44 5 64 15 20 9 38 23 51 42 2 1 4 3 7 3 3 0 5-1 7-3l39-39c2-2 3-3 3-6 0-2-1-4-2-6-21-25-46-45-76-59-29-14-60-20-93-20-30 0-58 5-85 17-27 12-51 27-70 47-20 19-35 43-47 70-12 27-17 55-17 85 0 30 5 58 17 85 12 27 27 51 47 70 19 20 43 35 70 47 27 12 55 17 85 17 28 0 55-5 81-15 26-11 50-26 70-45l37 37c6 6 12 7 20 4 8-4 11-9 11-17z"/>
|
||||
</font></defs></svg>
|
||||
|
After Width: | Height: | Size: 2.1 KiB |
BIN
build/resources/main/static/pc/vendor/slick/fonts/slick.ttf
vendored
Normal file
BIN
build/resources/main/static/pc/vendor/slick/fonts/slick.ttf
vendored
Normal file
Binary file not shown.
BIN
build/resources/main/static/pc/vendor/slick/fonts/slick.woff
vendored
Normal file
BIN
build/resources/main/static/pc/vendor/slick/fonts/slick.woff
vendored
Normal file
Binary file not shown.
150
build/resources/main/static/pc/vendor/slick/slick-theme.css
vendored
Normal file
150
build/resources/main/static/pc/vendor/slick/slick-theme.css
vendored
Normal file
@@ -0,0 +1,150 @@
|
||||
@charset "UTF-8";
|
||||
/* Slider */
|
||||
.slick-loading .slick-list {
|
||||
background: #fff url("./ajax-loader.gif") center center no-repeat;
|
||||
}
|
||||
|
||||
/* Icons */
|
||||
@font-face {
|
||||
font-family: "slick";
|
||||
src: url("./fonts/slick.eot");
|
||||
src: url("./fonts/slick.eot?#iefix") format("embedded-opentype"), url("./fonts/slick.woff") format("woff"), url("./fonts/slick.ttf") format("truetype"), url("./fonts/slick.svg#slick") format("svg");
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
/* Arrows */
|
||||
.slick-prev,
|
||||
.slick-next {
|
||||
position: absolute;
|
||||
display: block;
|
||||
height: 20px;
|
||||
width: 20px;
|
||||
line-height: 0px;
|
||||
font-size: 0px;
|
||||
cursor: pointer;
|
||||
background: transparent;
|
||||
color: transparent;
|
||||
top: 50%;
|
||||
transform: translate(0, -50%);
|
||||
padding: 0;
|
||||
border: none;
|
||||
outline: none;
|
||||
}
|
||||
.slick-prev:hover, .slick-prev:focus,
|
||||
.slick-next:hover,
|
||||
.slick-next:focus {
|
||||
outline: none;
|
||||
background: transparent;
|
||||
color: transparent;
|
||||
}
|
||||
.slick-prev:hover:before, .slick-prev:focus:before,
|
||||
.slick-next:hover:before,
|
||||
.slick-next:focus:before {
|
||||
opacity: 1;
|
||||
}
|
||||
.slick-prev.slick-disabled:before,
|
||||
.slick-next.slick-disabled:before {
|
||||
opacity: 0.25;
|
||||
}
|
||||
.slick-prev:before,
|
||||
.slick-next:before {
|
||||
font-family: "slick";
|
||||
font-size: 20px;
|
||||
line-height: 1;
|
||||
color: white;
|
||||
opacity: 0.75;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
}
|
||||
|
||||
.slick-prev {
|
||||
left: -25px;
|
||||
}
|
||||
[dir=rtl] .slick-prev {
|
||||
left: auto;
|
||||
right: -25px;
|
||||
}
|
||||
.slick-prev:before {
|
||||
content: "←";
|
||||
}
|
||||
[dir=rtl] .slick-prev:before {
|
||||
content: "→";
|
||||
}
|
||||
|
||||
.slick-next {
|
||||
right: -25px;
|
||||
}
|
||||
[dir=rtl] .slick-next {
|
||||
left: -25px;
|
||||
right: auto;
|
||||
}
|
||||
.slick-next:before {
|
||||
content: "→";
|
||||
}
|
||||
[dir=rtl] .slick-next:before {
|
||||
content: "←";
|
||||
}
|
||||
|
||||
/* Dots */
|
||||
.slick-dotted.slick-slider {
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
|
||||
.slick-dots {
|
||||
position: absolute;
|
||||
bottom: -25px;
|
||||
list-style: none;
|
||||
display: block;
|
||||
text-align: center;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
width: 100%;
|
||||
}
|
||||
.slick-dots li {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
height: 20px;
|
||||
width: 20px;
|
||||
margin: 0 5px;
|
||||
padding: 0;
|
||||
cursor: pointer;
|
||||
}
|
||||
.slick-dots li button {
|
||||
border: 0;
|
||||
background: transparent;
|
||||
display: block;
|
||||
height: 20px;
|
||||
width: 20px;
|
||||
outline: none;
|
||||
line-height: 0px;
|
||||
font-size: 0px;
|
||||
color: transparent;
|
||||
padding: 5px;
|
||||
cursor: pointer;
|
||||
}
|
||||
.slick-dots li button:hover, .slick-dots li button:focus {
|
||||
outline: none;
|
||||
}
|
||||
.slick-dots li button:hover:before, .slick-dots li button:focus:before {
|
||||
opacity: 1;
|
||||
}
|
||||
.slick-dots li button:before {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
content: "•";
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
font-family: "slick";
|
||||
font-size: 6px;
|
||||
line-height: 20px;
|
||||
text-align: center;
|
||||
color: black;
|
||||
opacity: 0.25;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
}
|
||||
.slick-dots li.slick-active button:before {
|
||||
color: black;
|
||||
opacity: 0.75;
|
||||
}/*# sourceMappingURL=slick-theme.css.map */
|
||||
1
build/resources/main/static/pc/vendor/slick/slick-theme.css.map
vendored
Normal file
1
build/resources/main/static/pc/vendor/slick/slick-theme.css.map
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"sources":["slick-theme.css","slick-theme.scss"],"names":[],"mappings":"AAAA,gBAAgB;ACyChB,WAAA;AAGI;EACI,iEAAA;ADzCR;;AC6CA,UAAA;AAEI;EACI,oBAAA;EACA,6BAAA;EACA,qMAAA;EACA,mBAAA;EACA,kBAAA;AD3CR;AC+CA,WAAA;AAEA;;EAEI,kBAAA;EACA,cAAA;EACA,YAAA;EACA,WAAA;EACA,gBAAA;EACA,cAAA;EACA,eAAA;EACA,uBAAA;EACA,kBAAA;EACA,QAAA;EAGA,6BAAA;EACA,UAAA;EACA,YAAA;EACA,aAAA;AD9CJ;AC+CI;;;EACI,aAAA;EACA,uBAAA;EACA,kBAAA;AD3CR;AC4CQ;;;EACI,UAjEa;ADyBzB;AC2CI;;EACI,aApEmB;AD4B3B;AC0CI;;EACI,oBAlFY;EAmFZ,eAAA;EACA,cAAA;EACA,YAnFY;EAoFZ,aA7EgB;EA8EhB,mCAAA;EACA,kCAAA;ADvCR;;AC2CA;EACI,WAAA;ADxCJ;ACyCI;EACI,UAAA;EACA,YAAA;ADvCR;ACyCI;EACI,YA9Fe;ADuDvB;ACwCQ;EACI,YA/FW;ADyDvB;;AC2CA;EACI,YAAA;ADxCJ;ACyCI;EACI,WAAA;EACA,WAAA;ADvCR;ACyCI;EACI,YA3Ge;ADoEvB;ACwCQ;EACI,YA9GW;ADwEvB;;AC2CA,SAAA;AAEA;EACI,mBAAA;ADzCJ;;AC4CA;EACI,kBAAA;EACA,aAAA;EACA,gBAAA;EACA,cAAA;EACA,kBAAA;EACA,UAAA;EACA,SAAA;EACA,WAAA;ADzCJ;AC0CI;EACI,kBAAA;EACA,qBAAA;EACA,YAAA;EACA,WAAA;EACA,aAAA;EACA,UAAA;EACA,eAAA;ADxCR;ACyCQ;EACI,SAAA;EACA,uBAAA;EACA,cAAA;EACA,YAAA;EACA,WAAA;EACA,aAAA;EACA,gBAAA;EACA,cAAA;EACA,kBAAA;EACA,YAAA;EACA,eAAA;ADvCZ;ACwCY;EACI,aAAA;ADtChB;ACuCgB;EACI,UApJK;AD+GzB;ACwCY;EACI,kBAAA;EACA,MAAA;EACA,OAAA;EACA,YA9JM;EA+JN,WAAA;EACA,YAAA;EACA,oBAxKI;EAyKJ,cAjKC;EAkKD,iBAAA;EACA,kBAAA;EACA,YAzKE;EA0KF,aAlKW;EAmKX,mCAAA;EACA,kCAAA;ADtChB;ACyCQ;EACI,YAhLM;EAiLN,aA3KY;ADoIxB","file":"slick-theme.css"}
|
||||
168
build/resources/main/static/pc/vendor/slick/slick-theme.less
vendored
Normal file
168
build/resources/main/static/pc/vendor/slick/slick-theme.less
vendored
Normal file
@@ -0,0 +1,168 @@
|
||||
@charset "UTF-8";
|
||||
|
||||
// Default Variables
|
||||
|
||||
@slick-font-path: "./fonts/";
|
||||
@slick-font-family: "slick";
|
||||
@slick-loader-path: "./";
|
||||
@slick-arrow-color: white;
|
||||
@slick-dot-color: black;
|
||||
@slick-dot-color-active: @slick-dot-color;
|
||||
@slick-prev-character: "←";
|
||||
@slick-next-character: "→";
|
||||
@slick-dot-character: "•";
|
||||
@slick-dot-size: 6px;
|
||||
@slick-opacity-default: 0.75;
|
||||
@slick-opacity-on-hover: 1;
|
||||
@slick-opacity-not-active: 0.25;
|
||||
|
||||
/* Slider */
|
||||
.slick-loading .slick-list{
|
||||
background: #fff url('@{slick-loader-path}ajax-loader.gif') center center no-repeat;
|
||||
}
|
||||
|
||||
/* Arrows */
|
||||
.slick-prev,
|
||||
.slick-next {
|
||||
position: absolute;
|
||||
display: block;
|
||||
height: 20px;
|
||||
width: 20px;
|
||||
line-height: 0px;
|
||||
font-size: 0px;
|
||||
cursor: pointer;
|
||||
background: transparent;
|
||||
color: transparent;
|
||||
top: 50%;
|
||||
-webkit-transform: translate(0, -50%);
|
||||
-ms-transform: translate(0, -50%);
|
||||
transform: translate(0, -50%);
|
||||
padding: 0;
|
||||
border: none;
|
||||
outline: none;
|
||||
&:hover, &:focus {
|
||||
outline: none;
|
||||
background: transparent;
|
||||
color: transparent;
|
||||
&:before {
|
||||
opacity: @slick-opacity-on-hover;
|
||||
}
|
||||
}
|
||||
&.slick-disabled:before {
|
||||
opacity: @slick-opacity-not-active;
|
||||
}
|
||||
}
|
||||
|
||||
.slick-prev:before, .slick-next:before {
|
||||
font-family: @slick-font-family;
|
||||
font-size: 20px;
|
||||
line-height: 1;
|
||||
color: @slick-arrow-color;
|
||||
opacity: @slick-opacity-default;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
|
||||
& when ( @slick-font-family = 'slick' ) {
|
||||
/* Icons */
|
||||
@font-face {
|
||||
font-family: 'slick';
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
src: url('@{slick-font-path}slick.eot');
|
||||
src: url('@{slick-font-path}slick.eot?#iefix') format('embedded-opentype'), url('@{slick-font-path}slick.woff') format('woff'), url('@{slick-font-path}slick.ttf') format('truetype'), url('@{slick-font-path}slick.svg#slick') format('svg');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.slick-prev {
|
||||
left: -25px;
|
||||
[dir="rtl"] & {
|
||||
left: auto;
|
||||
right: -25px;
|
||||
}
|
||||
&:before {
|
||||
content: @slick-prev-character;
|
||||
[dir="rtl"] & {
|
||||
content: @slick-next-character;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.slick-next {
|
||||
right: -25px;
|
||||
[dir="rtl"] & {
|
||||
left: -25px;
|
||||
right: auto;
|
||||
}
|
||||
&:before {
|
||||
content: @slick-next-character;
|
||||
[dir="rtl"] & {
|
||||
content: @slick-prev-character;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* Dots */
|
||||
|
||||
.slick-dotted .slick-slider {
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
|
||||
.slick-dots {
|
||||
position: absolute;
|
||||
bottom: -25px;
|
||||
list-style: none;
|
||||
display: block;
|
||||
text-align: center;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
width: 100%;
|
||||
li {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
height: 20px;
|
||||
width: 20px;
|
||||
margin: 0 5px;
|
||||
padding: 0;
|
||||
cursor: pointer;
|
||||
button {
|
||||
border: 0;
|
||||
background: transparent;
|
||||
display: block;
|
||||
height: 20px;
|
||||
width: 20px;
|
||||
outline: none;
|
||||
line-height: 0px;
|
||||
font-size: 0px;
|
||||
color: transparent;
|
||||
padding: 5px;
|
||||
cursor: pointer;
|
||||
&:hover, &:focus {
|
||||
outline: none;
|
||||
&:before {
|
||||
opacity: @slick-opacity-on-hover;
|
||||
}
|
||||
}
|
||||
&:before {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
content: @slick-dot-character;
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
font-family: @slick-font-family;
|
||||
font-size: @slick-dot-size;
|
||||
line-height: 20px;
|
||||
text-align: center;
|
||||
color: @slick-dot-color;
|
||||
opacity: @slick-opacity-not-active;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
}
|
||||
}
|
||||
&.slick-active button:before {
|
||||
color: @slick-dot-color-active;
|
||||
opacity: @slick-opacity-default;
|
||||
}
|
||||
}
|
||||
}
|
||||
194
build/resources/main/static/pc/vendor/slick/slick-theme.scss
vendored
Normal file
194
build/resources/main/static/pc/vendor/slick/slick-theme.scss
vendored
Normal file
@@ -0,0 +1,194 @@
|
||||
@charset "UTF-8";
|
||||
|
||||
// Default Variables
|
||||
|
||||
// Slick icon entity codes outputs the following
|
||||
// "\2190" outputs ascii character "←"
|
||||
// "\2192" outputs ascii character "→"
|
||||
// "\2022" outputs ascii character "•"
|
||||
|
||||
$slick-font-path: "./fonts/" !default;
|
||||
$slick-font-family: "slick" !default;
|
||||
$slick-loader-path: "./" !default;
|
||||
$slick-arrow-color: white !default;
|
||||
$slick-dot-color: black !default;
|
||||
$slick-dot-color-active: $slick-dot-color !default;
|
||||
$slick-prev-character: "\2190" !default;
|
||||
$slick-next-character: "\2192" !default;
|
||||
$slick-dot-character: "\2022" !default;
|
||||
$slick-dot-size: 6px !default;
|
||||
$slick-opacity-default: 0.75 !default;
|
||||
$slick-opacity-on-hover: 1 !default;
|
||||
$slick-opacity-not-active: 0.25 !default;
|
||||
|
||||
@function slick-image-url($url) {
|
||||
@if function-exists(image-url) {
|
||||
@return image-url($url);
|
||||
}
|
||||
@else {
|
||||
@return url($slick-loader-path + $url);
|
||||
}
|
||||
}
|
||||
|
||||
@function slick-font-url($url) {
|
||||
@if function-exists(font-url) {
|
||||
@return font-url($url);
|
||||
}
|
||||
@else {
|
||||
@return url($slick-font-path + $url);
|
||||
}
|
||||
}
|
||||
|
||||
/* Slider */
|
||||
|
||||
.slick-list {
|
||||
.slick-loading & {
|
||||
background: #fff slick-image-url("ajax-loader.gif") center center no-repeat;
|
||||
}
|
||||
}
|
||||
|
||||
/* Icons */
|
||||
@if $slick-font-family == "slick" {
|
||||
@font-face {
|
||||
font-family: "slick";
|
||||
src: slick-font-url("slick.eot");
|
||||
src: slick-font-url("slick.eot?#iefix") format("embedded-opentype"), slick-font-url("slick.woff") format("woff"), slick-font-url("slick.ttf") format("truetype"), slick-font-url("slick.svg#slick") format("svg");
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
}
|
||||
|
||||
/* Arrows */
|
||||
|
||||
.slick-prev,
|
||||
.slick-next {
|
||||
position: absolute;
|
||||
display: block;
|
||||
height: 20px;
|
||||
width: 20px;
|
||||
line-height: 0px;
|
||||
font-size: 0px;
|
||||
cursor: pointer;
|
||||
background: transparent;
|
||||
color: transparent;
|
||||
top: 50%;
|
||||
-webkit-transform: translate(0, -50%);
|
||||
-ms-transform: translate(0, -50%);
|
||||
transform: translate(0, -50%);
|
||||
padding: 0;
|
||||
border: none;
|
||||
outline: none;
|
||||
&:hover, &:focus {
|
||||
outline: none;
|
||||
background: transparent;
|
||||
color: transparent;
|
||||
&:before {
|
||||
opacity: $slick-opacity-on-hover;
|
||||
}
|
||||
}
|
||||
&.slick-disabled:before {
|
||||
opacity: $slick-opacity-not-active;
|
||||
}
|
||||
&:before {
|
||||
font-family: $slick-font-family;
|
||||
font-size: 20px;
|
||||
line-height: 1;
|
||||
color: $slick-arrow-color;
|
||||
opacity: $slick-opacity-default;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
}
|
||||
}
|
||||
|
||||
.slick-prev {
|
||||
left: -25px;
|
||||
[dir="rtl"] & {
|
||||
left: auto;
|
||||
right: -25px;
|
||||
}
|
||||
&:before {
|
||||
content: $slick-prev-character;
|
||||
[dir="rtl"] & {
|
||||
content: $slick-next-character;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.slick-next {
|
||||
right: -25px;
|
||||
[dir="rtl"] & {
|
||||
left: -25px;
|
||||
right: auto;
|
||||
}
|
||||
&:before {
|
||||
content: $slick-next-character;
|
||||
[dir="rtl"] & {
|
||||
content: $slick-prev-character;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* Dots */
|
||||
|
||||
.slick-dotted.slick-slider {
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
|
||||
.slick-dots {
|
||||
position: absolute;
|
||||
bottom: -25px;
|
||||
list-style: none;
|
||||
display: block;
|
||||
text-align: center;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
width: 100%;
|
||||
li {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
height: 20px;
|
||||
width: 20px;
|
||||
margin: 0 5px;
|
||||
padding: 0;
|
||||
cursor: pointer;
|
||||
button {
|
||||
border: 0;
|
||||
background: transparent;
|
||||
display: block;
|
||||
height: 20px;
|
||||
width: 20px;
|
||||
outline: none;
|
||||
line-height: 0px;
|
||||
font-size: 0px;
|
||||
color: transparent;
|
||||
padding: 5px;
|
||||
cursor: pointer;
|
||||
&:hover, &:focus {
|
||||
outline: none;
|
||||
&:before {
|
||||
opacity: $slick-opacity-on-hover;
|
||||
}
|
||||
}
|
||||
&:before {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
content: $slick-dot-character;
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
font-family: $slick-font-family;
|
||||
font-size: $slick-dot-size;
|
||||
line-height: 20px;
|
||||
text-align: center;
|
||||
color: $slick-dot-color;
|
||||
opacity: $slick-opacity-not-active;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
}
|
||||
}
|
||||
&.slick-active button:before {
|
||||
color: $slick-dot-color-active;
|
||||
opacity: $slick-opacity-default;
|
||||
}
|
||||
}
|
||||
}
|
||||
85
build/resources/main/static/pc/vendor/slick/slick.css
vendored
Normal file
85
build/resources/main/static/pc/vendor/slick/slick.css
vendored
Normal file
@@ -0,0 +1,85 @@
|
||||
/* Slider */
|
||||
.slick-slider {
|
||||
position: relative;
|
||||
display: block;
|
||||
box-sizing: border-box;
|
||||
-webkit-touch-callout: none;
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
user-select: none;
|
||||
touch-action: pan-y;
|
||||
-webkit-tap-highlight-color: transparent;
|
||||
}
|
||||
|
||||
.slick-list {
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
display: block;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
.slick-list:focus {
|
||||
outline: none;
|
||||
}
|
||||
.slick-list.dragging {
|
||||
cursor: pointer;
|
||||
cursor: hand;
|
||||
}
|
||||
|
||||
.slick-slider .slick-track,
|
||||
.slick-slider .slick-list {
|
||||
transform: translate3d(0, 0, 0);
|
||||
}
|
||||
|
||||
.slick-track {
|
||||
position: relative;
|
||||
left: 0;
|
||||
top: 0;
|
||||
display: block;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
.slick-track:before, .slick-track:after {
|
||||
content: "";
|
||||
display: table;
|
||||
}
|
||||
.slick-track:after {
|
||||
clear: both;
|
||||
}
|
||||
.slick-loading .slick-track {
|
||||
visibility: hidden;
|
||||
}
|
||||
|
||||
.slick-slide {
|
||||
float: left;
|
||||
height: 100%;
|
||||
min-height: 1px;
|
||||
display: none;
|
||||
}
|
||||
[dir=rtl] .slick-slide {
|
||||
float: right;
|
||||
}
|
||||
.slick-slide img {
|
||||
display: block;
|
||||
}
|
||||
.slick-slide.slick-loading img {
|
||||
display: none;
|
||||
}
|
||||
.slick-slide.dragging img {
|
||||
pointer-events: none;
|
||||
}
|
||||
.slick-initialized .slick-slide {
|
||||
display: block;
|
||||
}
|
||||
.slick-loading .slick-slide {
|
||||
visibility: hidden;
|
||||
}
|
||||
.slick-vertical .slick-slide {
|
||||
display: block;
|
||||
height: auto;
|
||||
border: 1px solid transparent;
|
||||
}
|
||||
|
||||
.slick-arrow.slick-hidden {
|
||||
display: none;
|
||||
}/*# sourceMappingURL=slick.css.map */
|
||||
1
build/resources/main/static/pc/vendor/slick/slick.css.map
vendored
Normal file
1
build/resources/main/static/pc/vendor/slick/slick.css.map
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"sources":["slick.scss","slick.css"],"names":[],"mappings":"AAAA,WAAA;AAEA;EACI,kBAAA;EACA,cAAA;EACA,sBAAA;EACA,2BAAA;EACA,yBAAA;EAEA,sBAAA;EAEA,iBAAA;EAEA,mBAAA;EACA,wCAAA;ACAJ;;ADEA;EACI,kBAAA;EACA,gBAAA;EACA,cAAA;EACA,SAAA;EACA,UAAA;ACCJ;ADCI;EACI,aAAA;ACCR;ADEI;EACI,eAAA;EACA,YAAA;ACAR;;ADGA;;EAMI,+BAAA;ACAJ;;ADGA;EACI,kBAAA;EACA,OAAA;EACA,MAAA;EACA,cAAA;EACA,iBAAA;EACA,kBAAA;ACAJ;ADEI;EAEI,WAAA;EACA,cAAA;ACDR;ADII;EACI,WAAA;ACFR;ADKI;EACI,kBAAA;ACHR;;ADMA;EACI,WAAA;EACA,YAAA;EACA,eAAA;EAWA,aAAA;ACbJ;ADGI;EACI,YAAA;ACDR;ADGI;EACI,cAAA;ACDR;ADGI;EACI,aAAA;ACDR;ADMI;EACI,oBAAA;ACJR;ADOI;EACI,cAAA;ACLR;ADQI;EACI,kBAAA;ACNR;ADSI;EACI,cAAA;EACA,YAAA;EACA,6BAAA;ACPR;;ADUA;EACI,aAAA;ACPJ","file":"slick.css"}
|
||||
3011
build/resources/main/static/pc/vendor/slick/slick.js
vendored
Normal file
3011
build/resources/main/static/pc/vendor/slick/slick.js
vendored
Normal file
File diff suppressed because it is too large
Load Diff
100
build/resources/main/static/pc/vendor/slick/slick.less
vendored
Normal file
100
build/resources/main/static/pc/vendor/slick/slick.less
vendored
Normal file
@@ -0,0 +1,100 @@
|
||||
/* Slider */
|
||||
|
||||
.slick-slider {
|
||||
position: relative;
|
||||
display: block;
|
||||
box-sizing: border-box;
|
||||
-webkit-touch-callout: none;
|
||||
-webkit-user-select: none;
|
||||
-khtml-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
-ms-touch-action: pan-y;
|
||||
touch-action: pan-y;
|
||||
-webkit-tap-highlight-color: transparent;
|
||||
}
|
||||
.slick-list {
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
display: block;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
|
||||
&:focus {
|
||||
outline: none;
|
||||
}
|
||||
|
||||
&.dragging {
|
||||
cursor: pointer;
|
||||
cursor: hand;
|
||||
}
|
||||
}
|
||||
.slick-slider .slick-track,
|
||||
.slick-slider .slick-list {
|
||||
-webkit-transform: translate3d(0, 0, 0);
|
||||
-moz-transform: translate3d(0, 0, 0);
|
||||
-ms-transform: translate3d(0, 0, 0);
|
||||
-o-transform: translate3d(0, 0, 0);
|
||||
transform: translate3d(0, 0, 0);
|
||||
}
|
||||
|
||||
.slick-track {
|
||||
position: relative;
|
||||
left: 0;
|
||||
top: 0;
|
||||
display: block;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
|
||||
&:before,
|
||||
&:after {
|
||||
content: "";
|
||||
display: table;
|
||||
}
|
||||
|
||||
&:after {
|
||||
clear: both;
|
||||
}
|
||||
|
||||
.slick-loading & {
|
||||
visibility: hidden;
|
||||
}
|
||||
}
|
||||
.slick-slide {
|
||||
float: left;
|
||||
height: 100%;
|
||||
min-height: 1px;
|
||||
[dir="rtl"] & {
|
||||
float: right;
|
||||
}
|
||||
img {
|
||||
display: block;
|
||||
}
|
||||
&.slick-loading img {
|
||||
display: none;
|
||||
}
|
||||
|
||||
display: none;
|
||||
|
||||
&.dragging img {
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.slick-initialized & {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.slick-loading & {
|
||||
visibility: hidden;
|
||||
}
|
||||
|
||||
.slick-vertical & {
|
||||
display: block;
|
||||
height: auto;
|
||||
border: 1px solid transparent;
|
||||
}
|
||||
}
|
||||
.slick-arrow.slick-hidden {
|
||||
display: none;
|
||||
}
|
||||
1
build/resources/main/static/pc/vendor/slick/slick.min.js
vendored
Normal file
1
build/resources/main/static/pc/vendor/slick/slick.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
100
build/resources/main/static/pc/vendor/slick/slick.scss
vendored
Normal file
100
build/resources/main/static/pc/vendor/slick/slick.scss
vendored
Normal file
@@ -0,0 +1,100 @@
|
||||
/* Slider */
|
||||
|
||||
.slick-slider {
|
||||
position: relative;
|
||||
display: block;
|
||||
box-sizing: border-box;
|
||||
-webkit-touch-callout: none;
|
||||
-webkit-user-select: none;
|
||||
-khtml-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
-ms-touch-action: pan-y;
|
||||
touch-action: pan-y;
|
||||
-webkit-tap-highlight-color: transparent;
|
||||
}
|
||||
.slick-list {
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
display: block;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
|
||||
&:focus {
|
||||
outline: none;
|
||||
}
|
||||
|
||||
&.dragging {
|
||||
cursor: pointer;
|
||||
cursor: hand;
|
||||
}
|
||||
}
|
||||
.slick-slider .slick-track,
|
||||
.slick-slider .slick-list {
|
||||
-webkit-transform: translate3d(0, 0, 0);
|
||||
-moz-transform: translate3d(0, 0, 0);
|
||||
-ms-transform: translate3d(0, 0, 0);
|
||||
-o-transform: translate3d(0, 0, 0);
|
||||
transform: translate3d(0, 0, 0);
|
||||
}
|
||||
|
||||
.slick-track {
|
||||
position: relative;
|
||||
left: 0;
|
||||
top: 0;
|
||||
display: block;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
|
||||
&:before,
|
||||
&:after {
|
||||
content: "";
|
||||
display: table;
|
||||
}
|
||||
|
||||
&:after {
|
||||
clear: both;
|
||||
}
|
||||
|
||||
.slick-loading & {
|
||||
visibility: hidden;
|
||||
}
|
||||
}
|
||||
.slick-slide {
|
||||
float: left;
|
||||
height: 100%;
|
||||
min-height: 1px;
|
||||
[dir="rtl"] & {
|
||||
float: right;
|
||||
}
|
||||
img {
|
||||
display: block;
|
||||
}
|
||||
&.slick-loading img {
|
||||
display: none;
|
||||
}
|
||||
|
||||
display: none;
|
||||
|
||||
&.dragging img {
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.slick-initialized & {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.slick-loading & {
|
||||
visibility: hidden;
|
||||
}
|
||||
|
||||
.slick-vertical & {
|
||||
display: block;
|
||||
height: auto;
|
||||
border: 1px solid transparent;
|
||||
}
|
||||
}
|
||||
.slick-arrow.slick-hidden {
|
||||
display: none;
|
||||
}
|
||||
Reference in New Issue
Block a user