Browse Source

无JIRA任务 alert层级

master
windy 6 years ago
parent
commit
fb156ea7a0
  1. 129
      dist/base.js
  2. 129
      dist/bundle.ie.js
  3. 52
      dist/bundle.ie.min.js
  4. 129
      dist/bundle.js
  5. 50
      dist/bundle.min.js
  6. 129
      dist/fineui.ie.js
  7. 52
      dist/fineui.ie.min.js
  8. 129
      dist/fineui.js
  9. 50
      dist/fineui.min.js
  10. 129
      dist/fineui_without_jquery_polyfill.js
  11. 2
      dist/utils.min.js
  12. 129
      src/base/foundation/message.js

129
dist/base.js vendored

@ -5181,57 +5181,84 @@ BI.Msg = function () {
}, 5000);
},
_show: function (hasCancel, title, message, callback) {
var name = BI.UUID();
BI.Popovers.create(name, {
type: "bi.bar_popover",
header: title,
body: {
type: "bi.center_adapt",
items: [{
type: "bi.label",
text: message
}]
},
footer: hasCancel ? {
type: "bi.right_vertical_adapt",
lgap: 10,
items: [{
type: "bi.button",
text: BI.i18nText("BI-Basic_Cancel"),
level: "ignore",
handler: function () {
BI.Popovers.remove(name);
if (BI.isFunction(callback)) {
callback.apply(null, [false]);
}
}
}, {
type: "bi.button",
text: BI.i18nText("BI-Basic_Sure"),
handler: function () {
BI.Popovers.remove(name);
if (BI.isFunction(callback)) {
callback.apply(null, [true]);
}
}
}]
} : {
type: "bi.right_vertical_adapt",
lgap: 10,
items: [{
type: "bi.button",
text: BI.i18nText("BI-Basic_Cancel"),
level: "ignore",
handler: function () {
BI.Popovers.remove(name);
if (BI.isFunction(callback)) {
callback.apply(null, [false]);
}
}
}]
},
size: "small"
}).open(name);
$mask = BI.Widget._renderEngine.createElement("<div class=\"bi-z-index-mask\">").css({
position: "absolute",
zIndex: BI.zIndex_tip - 2,
top: 0,
left: 0,
right: 0,
bottom: 0,
opacity: 0.5
}).appendTo("body");
$pop = BI.Widget._renderEngine.createElement("<div class=\"bi-message-depend\">").css({
position: "absolute",
zIndex: BI.zIndex_tip - 1,
top: 0,
left: 0,
right: 0,
bottom: 0
}).appendTo("body");
var close = function () {
messageShow.destroy();
$mask.remove();
};
var conf = {
element: $pop,
type: "bi.center_adapt",
items: [
{
type: "bi.bar_popover",
header: title,
body: {
type: "bi.center_adapt",
items: [{
type: "bi.label",
text: message
}]
},
footer: hasCancel ? {
type: "bi.right_vertical_adapt",
lgap: 10,
items: [{
type: "bi.button",
text: BI.i18nText("BI-Basic_Cancel"),
level: "ignore",
handler: function () {
close();
if (BI.isFunction(callback)) {
callback.apply(null, [false]);
}
}
}, {
type: "bi.button",
text: BI.i18nText("BI-Basic_Sure"),
handler: function () {
close();
if (BI.isFunction(callback)) {
callback.apply(null, [true]);
}
}
}]
} : {
type: "bi.right_vertical_adapt",
lgap: 10,
items: [{
type: "bi.button",
text: BI.i18nText("BI-Basic_OK"),
handler: function () {
close();
if (BI.isFunction(callback)) {
callback.apply(null, [true]);
}
}
}]
},
size: "small"
}
]
};
messageShow = BI.createWidget(conf);
}
};
}();/**

129
dist/bundle.ie.js vendored

@ -40247,57 +40247,84 @@ BI.Msg = function () {
}, 5000);
},
_show: function (hasCancel, title, message, callback) {
var name = BI.UUID();
BI.Popovers.create(name, {
type: "bi.bar_popover",
header: title,
body: {
type: "bi.center_adapt",
items: [{
type: "bi.label",
text: message
}]
},
footer: hasCancel ? {
type: "bi.right_vertical_adapt",
lgap: 10,
items: [{
type: "bi.button",
text: BI.i18nText("BI-Basic_Cancel"),
level: "ignore",
handler: function () {
BI.Popovers.remove(name);
if (BI.isFunction(callback)) {
callback.apply(null, [false]);
}
}
}, {
type: "bi.button",
text: BI.i18nText("BI-Basic_Sure"),
handler: function () {
BI.Popovers.remove(name);
if (BI.isFunction(callback)) {
callback.apply(null, [true]);
}
}
}]
} : {
type: "bi.right_vertical_adapt",
lgap: 10,
items: [{
type: "bi.button",
text: BI.i18nText("BI-Basic_Cancel"),
level: "ignore",
handler: function () {
BI.Popovers.remove(name);
if (BI.isFunction(callback)) {
callback.apply(null, [false]);
}
}
}]
},
size: "small"
}).open(name);
$mask = BI.Widget._renderEngine.createElement("<div class=\"bi-z-index-mask\">").css({
position: "absolute",
zIndex: BI.zIndex_tip - 2,
top: 0,
left: 0,
right: 0,
bottom: 0,
opacity: 0.5
}).appendTo("body");
$pop = BI.Widget._renderEngine.createElement("<div class=\"bi-message-depend\">").css({
position: "absolute",
zIndex: BI.zIndex_tip - 1,
top: 0,
left: 0,
right: 0,
bottom: 0
}).appendTo("body");
var close = function () {
messageShow.destroy();
$mask.remove();
};
var conf = {
element: $pop,
type: "bi.center_adapt",
items: [
{
type: "bi.bar_popover",
header: title,
body: {
type: "bi.center_adapt",
items: [{
type: "bi.label",
text: message
}]
},
footer: hasCancel ? {
type: "bi.right_vertical_adapt",
lgap: 10,
items: [{
type: "bi.button",
text: BI.i18nText("BI-Basic_Cancel"),
level: "ignore",
handler: function () {
close();
if (BI.isFunction(callback)) {
callback.apply(null, [false]);
}
}
}, {
type: "bi.button",
text: BI.i18nText("BI-Basic_Sure"),
handler: function () {
close();
if (BI.isFunction(callback)) {
callback.apply(null, [true]);
}
}
}]
} : {
type: "bi.right_vertical_adapt",
lgap: 10,
items: [{
type: "bi.button",
text: BI.i18nText("BI-Basic_OK"),
handler: function () {
close();
if (BI.isFunction(callback)) {
callback.apply(null, [true]);
}
}
}]
},
size: "small"
}
]
};
messageShow = BI.createWidget(conf);
}
};
}();/**

52
dist/bundle.ie.min.js vendored

File diff suppressed because one or more lines are too long

129
dist/bundle.js vendored

@ -40651,57 +40651,84 @@ BI.Msg = function () {
}, 5000);
},
_show: function (hasCancel, title, message, callback) {
var name = BI.UUID();
BI.Popovers.create(name, {
type: "bi.bar_popover",
header: title,
body: {
type: "bi.center_adapt",
items: [{
type: "bi.label",
text: message
}]
},
footer: hasCancel ? {
type: "bi.right_vertical_adapt",
lgap: 10,
items: [{
type: "bi.button",
text: BI.i18nText("BI-Basic_Cancel"),
level: "ignore",
handler: function () {
BI.Popovers.remove(name);
if (BI.isFunction(callback)) {
callback.apply(null, [false]);
}
}
}, {
type: "bi.button",
text: BI.i18nText("BI-Basic_Sure"),
handler: function () {
BI.Popovers.remove(name);
if (BI.isFunction(callback)) {
callback.apply(null, [true]);
}
}
}]
} : {
type: "bi.right_vertical_adapt",
lgap: 10,
items: [{
type: "bi.button",
text: BI.i18nText("BI-Basic_Cancel"),
level: "ignore",
handler: function () {
BI.Popovers.remove(name);
if (BI.isFunction(callback)) {
callback.apply(null, [false]);
}
}
}]
},
size: "small"
}).open(name);
$mask = BI.Widget._renderEngine.createElement("<div class=\"bi-z-index-mask\">").css({
position: "absolute",
zIndex: BI.zIndex_tip - 2,
top: 0,
left: 0,
right: 0,
bottom: 0,
opacity: 0.5
}).appendTo("body");
$pop = BI.Widget._renderEngine.createElement("<div class=\"bi-message-depend\">").css({
position: "absolute",
zIndex: BI.zIndex_tip - 1,
top: 0,
left: 0,
right: 0,
bottom: 0
}).appendTo("body");
var close = function () {
messageShow.destroy();
$mask.remove();
};
var conf = {
element: $pop,
type: "bi.center_adapt",
items: [
{
type: "bi.bar_popover",
header: title,
body: {
type: "bi.center_adapt",
items: [{
type: "bi.label",
text: message
}]
},
footer: hasCancel ? {
type: "bi.right_vertical_adapt",
lgap: 10,
items: [{
type: "bi.button",
text: BI.i18nText("BI-Basic_Cancel"),
level: "ignore",
handler: function () {
close();
if (BI.isFunction(callback)) {
callback.apply(null, [false]);
}
}
}, {
type: "bi.button",
text: BI.i18nText("BI-Basic_Sure"),
handler: function () {
close();
if (BI.isFunction(callback)) {
callback.apply(null, [true]);
}
}
}]
} : {
type: "bi.right_vertical_adapt",
lgap: 10,
items: [{
type: "bi.button",
text: BI.i18nText("BI-Basic_OK"),
handler: function () {
close();
if (BI.isFunction(callback)) {
callback.apply(null, [true]);
}
}
}]
},
size: "small"
}
]
};
messageShow = BI.createWidget(conf);
}
};
}();/**

50
dist/bundle.min.js vendored

File diff suppressed because one or more lines are too long

129
dist/fineui.ie.js vendored

@ -40489,57 +40489,84 @@ BI.Msg = function () {
}, 5000);
},
_show: function (hasCancel, title, message, callback) {
var name = BI.UUID();
BI.Popovers.create(name, {
type: "bi.bar_popover",
header: title,
body: {
type: "bi.center_adapt",
items: [{
type: "bi.label",
text: message
}]
},
footer: hasCancel ? {
type: "bi.right_vertical_adapt",
lgap: 10,
items: [{
type: "bi.button",
text: BI.i18nText("BI-Basic_Cancel"),
level: "ignore",
handler: function () {
BI.Popovers.remove(name);
if (BI.isFunction(callback)) {
callback.apply(null, [false]);
}
}
}, {
type: "bi.button",
text: BI.i18nText("BI-Basic_Sure"),
handler: function () {
BI.Popovers.remove(name);
if (BI.isFunction(callback)) {
callback.apply(null, [true]);
}
}
}]
} : {
type: "bi.right_vertical_adapt",
lgap: 10,
items: [{
type: "bi.button",
text: BI.i18nText("BI-Basic_Cancel"),
level: "ignore",
handler: function () {
BI.Popovers.remove(name);
if (BI.isFunction(callback)) {
callback.apply(null, [false]);
}
}
}]
},
size: "small"
}).open(name);
$mask = BI.Widget._renderEngine.createElement("<div class=\"bi-z-index-mask\">").css({
position: "absolute",
zIndex: BI.zIndex_tip - 2,
top: 0,
left: 0,
right: 0,
bottom: 0,
opacity: 0.5
}).appendTo("body");
$pop = BI.Widget._renderEngine.createElement("<div class=\"bi-message-depend\">").css({
position: "absolute",
zIndex: BI.zIndex_tip - 1,
top: 0,
left: 0,
right: 0,
bottom: 0
}).appendTo("body");
var close = function () {
messageShow.destroy();
$mask.remove();
};
var conf = {
element: $pop,
type: "bi.center_adapt",
items: [
{
type: "bi.bar_popover",
header: title,
body: {
type: "bi.center_adapt",
items: [{
type: "bi.label",
text: message
}]
},
footer: hasCancel ? {
type: "bi.right_vertical_adapt",
lgap: 10,
items: [{
type: "bi.button",
text: BI.i18nText("BI-Basic_Cancel"),
level: "ignore",
handler: function () {
close();
if (BI.isFunction(callback)) {
callback.apply(null, [false]);
}
}
}, {
type: "bi.button",
text: BI.i18nText("BI-Basic_Sure"),
handler: function () {
close();
if (BI.isFunction(callback)) {
callback.apply(null, [true]);
}
}
}]
} : {
type: "bi.right_vertical_adapt",
lgap: 10,
items: [{
type: "bi.button",
text: BI.i18nText("BI-Basic_OK"),
handler: function () {
close();
if (BI.isFunction(callback)) {
callback.apply(null, [true]);
}
}
}]
},
size: "small"
}
]
};
messageShow = BI.createWidget(conf);
}
};
}();/**

52
dist/fineui.ie.min.js vendored

File diff suppressed because one or more lines are too long

129
dist/fineui.js vendored

@ -40893,57 +40893,84 @@ BI.Msg = function () {
}, 5000);
},
_show: function (hasCancel, title, message, callback) {
var name = BI.UUID();
BI.Popovers.create(name, {
type: "bi.bar_popover",
header: title,
body: {
type: "bi.center_adapt",
items: [{
type: "bi.label",
text: message
}]
},
footer: hasCancel ? {
type: "bi.right_vertical_adapt",
lgap: 10,
items: [{
type: "bi.button",
text: BI.i18nText("BI-Basic_Cancel"),
level: "ignore",
handler: function () {
BI.Popovers.remove(name);
if (BI.isFunction(callback)) {
callback.apply(null, [false]);
}
}
}, {
type: "bi.button",
text: BI.i18nText("BI-Basic_Sure"),
handler: function () {
BI.Popovers.remove(name);
if (BI.isFunction(callback)) {
callback.apply(null, [true]);
}
}
}]
} : {
type: "bi.right_vertical_adapt",
lgap: 10,
items: [{
type: "bi.button",
text: BI.i18nText("BI-Basic_Cancel"),
level: "ignore",
handler: function () {
BI.Popovers.remove(name);
if (BI.isFunction(callback)) {
callback.apply(null, [false]);
}
}
}]
},
size: "small"
}).open(name);
$mask = BI.Widget._renderEngine.createElement("<div class=\"bi-z-index-mask\">").css({
position: "absolute",
zIndex: BI.zIndex_tip - 2,
top: 0,
left: 0,
right: 0,
bottom: 0,
opacity: 0.5
}).appendTo("body");
$pop = BI.Widget._renderEngine.createElement("<div class=\"bi-message-depend\">").css({
position: "absolute",
zIndex: BI.zIndex_tip - 1,
top: 0,
left: 0,
right: 0,
bottom: 0
}).appendTo("body");
var close = function () {
messageShow.destroy();
$mask.remove();
};
var conf = {
element: $pop,
type: "bi.center_adapt",
items: [
{
type: "bi.bar_popover",
header: title,
body: {
type: "bi.center_adapt",
items: [{
type: "bi.label",
text: message
}]
},
footer: hasCancel ? {
type: "bi.right_vertical_adapt",
lgap: 10,
items: [{
type: "bi.button",
text: BI.i18nText("BI-Basic_Cancel"),
level: "ignore",
handler: function () {
close();
if (BI.isFunction(callback)) {
callback.apply(null, [false]);
}
}
}, {
type: "bi.button",
text: BI.i18nText("BI-Basic_Sure"),
handler: function () {
close();
if (BI.isFunction(callback)) {
callback.apply(null, [true]);
}
}
}]
} : {
type: "bi.right_vertical_adapt",
lgap: 10,
items: [{
type: "bi.button",
text: BI.i18nText("BI-Basic_OK"),
handler: function () {
close();
if (BI.isFunction(callback)) {
callback.apply(null, [true]);
}
}
}]
},
size: "small"
}
]
};
messageShow = BI.createWidget(conf);
}
};
}();/**

50
dist/fineui.min.js vendored

File diff suppressed because one or more lines are too long

129
dist/fineui_without_jquery_polyfill.js vendored

@ -28518,57 +28518,84 @@ BI.Msg = function () {
}, 5000);
},
_show: function (hasCancel, title, message, callback) {
var name = BI.UUID();
BI.Popovers.create(name, {
type: "bi.bar_popover",
header: title,
body: {
type: "bi.center_adapt",
items: [{
type: "bi.label",
text: message
}]
},
footer: hasCancel ? {
type: "bi.right_vertical_adapt",
lgap: 10,
items: [{
type: "bi.button",
text: BI.i18nText("BI-Basic_Cancel"),
level: "ignore",
handler: function () {
BI.Popovers.remove(name);
if (BI.isFunction(callback)) {
callback.apply(null, [false]);
}
}
}, {
type: "bi.button",
text: BI.i18nText("BI-Basic_Sure"),
handler: function () {
BI.Popovers.remove(name);
if (BI.isFunction(callback)) {
callback.apply(null, [true]);
}
}
}]
} : {
type: "bi.right_vertical_adapt",
lgap: 10,
items: [{
type: "bi.button",
text: BI.i18nText("BI-Basic_Cancel"),
level: "ignore",
handler: function () {
BI.Popovers.remove(name);
if (BI.isFunction(callback)) {
callback.apply(null, [false]);
}
}
}]
},
size: "small"
}).open(name);
$mask = BI.Widget._renderEngine.createElement("<div class=\"bi-z-index-mask\">").css({
position: "absolute",
zIndex: BI.zIndex_tip - 2,
top: 0,
left: 0,
right: 0,
bottom: 0,
opacity: 0.5
}).appendTo("body");
$pop = BI.Widget._renderEngine.createElement("<div class=\"bi-message-depend\">").css({
position: "absolute",
zIndex: BI.zIndex_tip - 1,
top: 0,
left: 0,
right: 0,
bottom: 0
}).appendTo("body");
var close = function () {
messageShow.destroy();
$mask.remove();
};
var conf = {
element: $pop,
type: "bi.center_adapt",
items: [
{
type: "bi.bar_popover",
header: title,
body: {
type: "bi.center_adapt",
items: [{
type: "bi.label",
text: message
}]
},
footer: hasCancel ? {
type: "bi.right_vertical_adapt",
lgap: 10,
items: [{
type: "bi.button",
text: BI.i18nText("BI-Basic_Cancel"),
level: "ignore",
handler: function () {
close();
if (BI.isFunction(callback)) {
callback.apply(null, [false]);
}
}
}, {
type: "bi.button",
text: BI.i18nText("BI-Basic_Sure"),
handler: function () {
close();
if (BI.isFunction(callback)) {
callback.apply(null, [true]);
}
}
}]
} : {
type: "bi.right_vertical_adapt",
lgap: 10,
items: [{
type: "bi.button",
text: BI.i18nText("BI-Basic_OK"),
handler: function () {
close();
if (BI.isFunction(callback)) {
callback.apply(null, [true]);
}
}
}]
},
size: "small"
}
]
};
messageShow = BI.createWidget(conf);
}
};
}();/**

2
dist/utils.min.js vendored

File diff suppressed because one or more lines are too long

129
src/base/foundation/message.js

@ -49,57 +49,84 @@ BI.Msg = function () {
}, 5000);
},
_show: function (hasCancel, title, message, callback) {
var name = BI.UUID();
BI.Popovers.create(name, {
type: "bi.bar_popover",
header: title,
body: {
type: "bi.center_adapt",
items: [{
type: "bi.label",
text: message
}]
},
footer: hasCancel ? {
type: "bi.right_vertical_adapt",
lgap: 10,
items: [{
type: "bi.button",
text: BI.i18nText("BI-Basic_Cancel"),
level: "ignore",
handler: function () {
BI.Popovers.remove(name);
if (BI.isFunction(callback)) {
callback.apply(null, [false]);
}
}
}, {
type: "bi.button",
text: BI.i18nText("BI-Basic_Sure"),
handler: function () {
BI.Popovers.remove(name);
if (BI.isFunction(callback)) {
callback.apply(null, [true]);
}
}
}]
} : {
type: "bi.right_vertical_adapt",
lgap: 10,
items: [{
type: "bi.button",
text: BI.i18nText("BI-Basic_Cancel"),
level: "ignore",
handler: function () {
BI.Popovers.remove(name);
if (BI.isFunction(callback)) {
callback.apply(null, [false]);
}
}
}]
},
size: "small"
}).open(name);
$mask = BI.Widget._renderEngine.createElement("<div class=\"bi-z-index-mask\">").css({
position: "absolute",
zIndex: BI.zIndex_tip - 2,
top: 0,
left: 0,
right: 0,
bottom: 0,
opacity: 0.5
}).appendTo("body");
$pop = BI.Widget._renderEngine.createElement("<div class=\"bi-message-depend\">").css({
position: "absolute",
zIndex: BI.zIndex_tip - 1,
top: 0,
left: 0,
right: 0,
bottom: 0
}).appendTo("body");
var close = function () {
messageShow.destroy();
$mask.remove();
};
var conf = {
element: $pop,
type: "bi.center_adapt",
items: [
{
type: "bi.bar_popover",
header: title,
body: {
type: "bi.center_adapt",
items: [{
type: "bi.label",
text: message
}]
},
footer: hasCancel ? {
type: "bi.right_vertical_adapt",
lgap: 10,
items: [{
type: "bi.button",
text: BI.i18nText("BI-Basic_Cancel"),
level: "ignore",
handler: function () {
close();
if (BI.isFunction(callback)) {
callback.apply(null, [false]);
}
}
}, {
type: "bi.button",
text: BI.i18nText("BI-Basic_Sure"),
handler: function () {
close();
if (BI.isFunction(callback)) {
callback.apply(null, [true]);
}
}
}]
} : {
type: "bi.right_vertical_adapt",
lgap: 10,
items: [{
type: "bi.button",
text: BI.i18nText("BI-Basic_OK"),
handler: function () {
close();
if (BI.isFunction(callback)) {
callback.apply(null, [true]);
}
}
}]
},
size: "small"
}
]
};
messageShow = BI.createWidget(conf);
}
};
}();
Loading…
Cancel
Save