"use strict";
!function(a) {
"function" == typeof define && define.amd ? define(["jquery", "./jquery.enjoyhint.js", "jquery.scrollto"], a) : "function" == typeof require && "object" == typeof exports ? module.exports = a(require("jquery"), require("./jquery.enjoyhint.js"), require("jquery.scrollto")) : window.EnjoyHint = a(jQuery)
}(function(a) {
return function(b) {
function c() {
o.enjoyhint("render_circle", []),
a("#enjoyhint_label").remove(),
a("#enjoyhint_arrpw_line").remove(),
o.enjoyhint("hide_prev"),
o.enjoyhint("hide_next"),
o.enjoyhint("hide_skip")
}
var d, e = this, f = b || {}, g = f.btnNextText, h = f.btnSkipText, i = f.backgroundColor || "rgba(0,0,0,0.6)", j = "body", k = {
onStart: function() {},
onEnd: function() {},
onSkip: function() {},
onNext: function() {}
}, l = a.extend(k, f), m = [], n = 0, o = a(j), p = function() {
a(".enjoyhint") && a(".enjoyhint").remove(),
o.css({
overflow: "hidden"
}),
a(document).on("touchmove", q),
o.enjoyhint({
onNextClick: function() {
t()
},
onPrevClick: function() {
u()
},
onSkipClick: function() {
l.onSkip(),
v()
},
fill: i
})
}, q = function(a) {
a.preventDefault()
}, r = function() {
a(".enjoyhint").remove(),
o.css({
overflow: "auto"
}),
a(document).off("touchmove", q)
};
e.clear = function() {
var b = a(".enjoyhint_next_btn")
, c = a(".enjoyhint_skip_btn");
a(".enjoyhint_prev_btn").removeClass(e.prevUserClass),
b.removeClass(e.nextUserClass),
b.text(g),
c.removeClass(e.skipUserClass),
c.text(h)
}
;
var s = function() {
if (!m || !m[n])
return o.enjoyhint("hide"),
l.onEnd(),
void r();
l.onNext();
var b = a(".enjoyhint");
b.removeClass("enjoyhint-step-" + n),
b.removeClass("enjoyhint-step-" + (n + 1)),
b.removeClass("enjoyhint-step-" + (n + 2)),
b.addClass("enjoyhint-step-" + (n + 1));
var f = m[n]
, g = f.scrollAnimationSpeed;
f.onBeforeStart && "function" == typeof f.onBeforeStart && f.onBeforeStart();
var h = f.timeout || 0;
setTimeout(function() {
if (!f.selector)
for (var b in f)
f.hasOwnProperty(b) && b.split(" ")[1] && (f.selector = b.split(" ")[1],
f.event = b.split(" ")[0],
"next" != b.split(" ")[0] && "auto" != b.split(" ")[0] && "custom" != b.split(" ")[0] || (f.event_type = b.split(" ")[0]),
f.description = f[b]);
setTimeout(function() {
e.clear()
}, 250);
var h = a(f.selector).get(0).getBoundingClientRect();
h.top < 0 || h.bottom > (window.innerHeight || document.documentElement.clientHeight) ? (c(),
a(document.body).scrollTo(f.selector, f.scrollAnimationSpeed || 250, {
offset: -200
})) : g = 250,
setTimeout(function() {
var b = a(f.selector)
, c = w(f.event);
if (o.enjoyhint("show"),
d = b,
f.event_selector && (d = a(f.event_selector)),
d.off(c),
b.off("keydown"),
f.event_type || "key" != f.event || b.keydown(function(a) {
a.which == f.keyCode && (n++,
s())
}),
!0 !== f.showNext && o.enjoyhint("hide_next"),
o.enjoyhint("hide_prev"),
0 !== n && o.enjoyhint("show_prev"),
0 == f.showPrev && o.enjoyhint("hide_prev"),
0 == f.showSkip ? o.enjoyhint("hide_skip") : o.enjoyhint("show_skip"),
f.nextButton) {
var g = a(".enjoyhint_next_btn");
g.addClass(f.nextButton.className || ""),
g.text(f.nextButton.text || "Next"),
e.nextUserClass = f.nextButton.className
}
if (f.prevButton) {
var h = a(".enjoyhint_prev_btn");
h.addClass(f.prevButton.className || ""),
h.text(f.prevButton.text || "Previous"),
e.prevUserClass = f.prevButton.className
}
if (f.skipButton) {
var i = a(".enjoyhint_skip_btn");
i.addClass(f.skipButton.className || ""),
i.text(f.skipButton.text || "Skip"),
e.skipUserClass = f.skipButton.className
}
if (f.event_type)
switch (f.event_type) {
case "auto":
return b[f.event](),
f.event,
n++,
void s();
case "custom":
x(f.event, function() {
n++,
y(f.event),
s()
});
break;
case "next":
o.enjoyhint("show_next")
}
else
d.on(c, function(a) {
f.keyCode && a.keyCode != f.keyCode || (n++,
s())
});
var j = Math.max(b.outerWidth(), b.outerHeight())
, k = f.radius || Math.round(j / 2) + 5
, l = b.offset()
, m = b.outerWidth()
, p = b.outerHeight()
, q = void 0 !== f.margin ? f.margin : 10
, t = {
x: l.left + Math.round(m / 2),
y: l.top + Math.round(p / 2) - a(document).scrollTop()
}
, u = {
enjoyHintElementSelector: f.selector,
center_x: t.x,
center_y: t.y,
text: f.description,
arrowColor: f.arrowColor,
top: f.top,
bottom: f.bottom,
left: f.left,
right: f.right,
margin: f.margin,
scroll: f.scroll
}
, v = {
nextButton: f.nextButton,
prevButton: f.prevButton
};
if (0 === u.center_x && 0 === u.center_y)
return o.enjoyhint("hide"),
r(),
console.log("Error: Element position couldn't be reached");
f.shape && "circle" == f.shape ? (u.shape = "circle",
u.radius = k) : (u.radius = 0,
u.width = m + q,
u.height = p + q),
o.enjoyhint("render_label_with_shape", u, e.stop, v)
}, g + 20 ||
没有合适的资源?快使用搜索试试~ 我知道了~
BDD×1С_1C Enterprise_Gherkin_下载.zip
共2000个文件
feature:1556个
xml:1461个
png:999个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 25 浏览量
2023-04-22
16:15:14
上传
评论
收藏 16.47MB ZIP 举报
温馨提示
BDD×1С_1C Enterprise_Gherkin_下载.zip
资源推荐
资源详情
资源评论
收起资源包目录
BDD×1С_1C Enterprise_Gherkin_下载.zip (2000个子文件)
style.css 411B
ru.html 285KB
ka.html 104KB
bg.html 104KB
am.html 104KB
mn.html 104KB
vi.html 103KB
es.html 103KB
hu.html 103KB
fr.html 103KB
az.html 103KB
ro.html 103KB
tr.html 103KB
de.html 103KB
pl.html 103KB
it.html 103KB
lt.html 103KB
sl.html 103KB
sv.html 103KB
lv.html 103KB
et.html 103KB
en.html 103KB
WriteText.html 6KB
CloseProgrammsAfterTests.html 5KB
HotKey.html 4KB
FirstFeature.html 4KB
FirstFeature.html 4KB
ru.html 4KB
ConfiguratorIsOpen.html 3KB
ConfiguratorIsOpen.html 3KB
ConfiguratorIsOpen.html 3KB
ConfiguratorIsOpen.html 3KB
ConfiguratorIsOpen.html 3KB
ConfiguratorIsOpen.html 3KB
ConfiguratorIsOpen.html 3KB
ConfiguratorIsOpen.html 3KB
ConfiguratorIsOpen.html 3KB
ConfiguratorIsOpen.html 3KB
ConfiguratorIsOpen.html 3KB
ConfiguratorIsOpen.html 3KB
ConfiguratorIsOpen.html 3KB
ConfiguratorIsOpen.html 3KB
ConfiguratorIsOpen.html 3KB
ConfiguratorIsOpen.html 3KB
ConfiguratorIsOpen.html 3KB
ConfiguratorIsOpen.html 3KB
ConfiguratorIsOpen.html 3KB
ConfiguratorIsOpen.html 3KB
ConfiguratorIsOpen.html 3KB
ConfiguratorIsOpen.html 3KB
ConfiguratorIsOpen.html 3KB
ConfiguratorIsOpen.html 3KB
ConfiguratorIsOpen.html 3KB
ConfiguratorIsOpen.html 3KB
ConfiguratorIsOpen.html 3KB
ConfiguratorIsOpen.html 3KB
SelectStringsInText.html 3KB
VscIsOpen.html 3KB
VscIsOpen.html 3KB
VscIsOpen.html 3KB
VscIsOpen.html 3KB
VscIsOpen.html 3KB
VscIsOpen.html 3KB
VscIsOpen.html 3KB
VscIsOpen.html 3KB
VscIsOpen.html 3KB
VscIsOpen.html 3KB
VscIsOpen.html 3KB
VscIsOpen.html 3KB
VscIsOpen.html 3KB
VscIsOpen.html 3KB
VscIsOpen.html 3KB
VscIsOpen.html 3KB
VscIsOpen.html 3KB
VscIsOpen.html 3KB
VscIsOpen.html 3KB
VscIsOpen.html 3KB
VscIsOpen.html 3KB
VscIsOpen.html 3KB
VscIsOpen.html 3KB
VscIsOpen.html 3KB
VscIsOpen.html 3KB
VscIsOpen.html 3KB
VscIsOpen.html 3KB
VscIsOpen.html 3KB
VscIsOpen.html 3KB
SwitchToConf.html 3KB
SwitchToTestClient.html 3KB
SwitchToConf.html 3KB
SwitchToTestClient.html 3KB
SwitchToTestClient.html 3KB
SwitchToTestClient.html 3KB
SwitchToTestClient.html 3KB
SwitchToTestClient.html 3KB
SwitchToTestClient.html 3KB
SwitchToTestClient.html 3KB
SwitchToTestClient.html 3KB
SwitchToTestClient.html 3KB
SwitchToTestClient.html 3KB
SwitchToTestClient.html 3KB
共 2000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 20
资源评论
快撑死的鱼
- 粉丝: 1w+
- 资源: 9152
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功