Browse Source

update

master
windy 6 years ago
parent
commit
349849a122
  1. 1
      dist/base.js
  2. 61
      dist/bundle.ie.js
  3. 40
      dist/bundle.ie.min.js
  4. 61
      dist/bundle.js
  5. 40
      dist/bundle.min.js
  6. 60
      dist/case.js
  7. 61
      dist/fineui.ie.js
  8. 38
      dist/fineui.ie.min.js
  9. 61
      dist/fineui.js
  10. 40
      dist/fineui.min.js
  11. 61
      dist/fineui_without_jquery_polyfill.js
  12. 2
      dist/utils.min.js
  13. 1
      src/base/single/label/label.js
  14. 60
      src/case/combo/bubblecombo/popup.bubble.js

1
dist/base.js vendored

@ -10807,6 +10807,7 @@ BI.Label = BI.inherit(BI.Single, {
var o = this.options; var o = this.options;
return { return {
type: "bi.text", type: "bi.text",
textAlign: o.textAlign,
whiteSpace: o.whiteSpace, whiteSpace: o.whiteSpace,
lineHeight: o.textHeight, lineHeight: o.textHeight,
text: o.text, text: o.text,

61
dist/bundle.ie.js vendored

@ -45902,6 +45902,7 @@ BI.Label = BI.inherit(BI.Single, {
var o = this.options; var o = this.options;
return { return {
type: "bi.text", type: "bi.text",
textAlign: o.textAlign,
whiteSpace: o.whiteSpace, whiteSpace: o.whiteSpace,
lineHeight: o.textHeight, lineHeight: o.textHeight,
text: o.text, text: o.text,
@ -53288,7 +53289,7 @@ BI.shortcut("bi.bubble_bar_popup_view", BI.BubblePopupBarView);
* @class BI.TextBubblePopupBarView * @class BI.TextBubblePopupBarView
* @extends BI.BubblePopupView * @extends BI.BubblePopupView
*/ */
BI.TextBubblePopupBarView = BI.inherit(BI.Widget, { BI.TextBubblePopupBarView = BI.inherit(BI.BubblePopupView, {
props: function () { props: function () {
return { return {
@ -53326,18 +53327,62 @@ BI.TextBubblePopupBarView = BI.inherit(BI.Widget, {
self.popup = this; self.popup = this;
}, },
el: { el: {
type: "bi.label",
text: o.text,
whiteSpace: "normal",
textAlign: "left",
ref: function () {
self.text = this;
}
}, },
buttons: buttons buttons: buttons
}; };
}, },
_createToolBar: function () {
var o = this.options, self = this;
var items = [];
BI.each(o.buttons, function (i, buttonOpt) {
if (BI.isWidget(buttonOpt)) {
items.push(buttonOpt);
} else {
items.push(BI.extend({
type: "bi.button",
height: 24,
handler: function (v) {
self.fireEvent(BI.BubblePopupBarView.EVENT_CLICK_TOOLBAR_BUTTON, v);
}
}, buttonOpt));
}
});
return BI.createWidget({
type: "bi.center",
height: 44,
rgap: 15,
items: [{
type: "bi.right_vertical_adapt",
lgap: 10,
items: items
}]
});
},
_createView: function () {
var self = this, o = this.options;
var button = BI.createWidget({
type: "bi.label",
cls: "bar-popup-container",
text: o.text,
whiteSpace: "normal",
textAlign: "left",
ref: function () {
self.text = this;
},
hgap: 15,
tgap: 10
});
button.element.css("min-height", o.minHeight - 44);
return button;
},
populate: function (v) { populate: function (v) {
this.text.setText(v || this.options.text); this.text.setText(v || this.options.text);
} }

40
dist/bundle.ie.min.js vendored

File diff suppressed because one or more lines are too long

61
dist/bundle.js vendored

@ -46306,6 +46306,7 @@ BI.Label = BI.inherit(BI.Single, {
var o = this.options; var o = this.options;
return { return {
type: "bi.text", type: "bi.text",
textAlign: o.textAlign,
whiteSpace: o.whiteSpace, whiteSpace: o.whiteSpace,
lineHeight: o.textHeight, lineHeight: o.textHeight,
text: o.text, text: o.text,
@ -53692,7 +53693,7 @@ BI.shortcut("bi.bubble_bar_popup_view", BI.BubblePopupBarView);
* @class BI.TextBubblePopupBarView * @class BI.TextBubblePopupBarView
* @extends BI.BubblePopupView * @extends BI.BubblePopupView
*/ */
BI.TextBubblePopupBarView = BI.inherit(BI.Widget, { BI.TextBubblePopupBarView = BI.inherit(BI.BubblePopupView, {
props: function () { props: function () {
return { return {
@ -53730,18 +53731,62 @@ BI.TextBubblePopupBarView = BI.inherit(BI.Widget, {
self.popup = this; self.popup = this;
}, },
el: { el: {
type: "bi.label",
text: o.text,
whiteSpace: "normal",
textAlign: "left",
ref: function () {
self.text = this;
}
}, },
buttons: buttons buttons: buttons
}; };
}, },
_createToolBar: function () {
var o = this.options, self = this;
var items = [];
BI.each(o.buttons, function (i, buttonOpt) {
if (BI.isWidget(buttonOpt)) {
items.push(buttonOpt);
} else {
items.push(BI.extend({
type: "bi.button",
height: 24,
handler: function (v) {
self.fireEvent(BI.BubblePopupBarView.EVENT_CLICK_TOOLBAR_BUTTON, v);
}
}, buttonOpt));
}
});
return BI.createWidget({
type: "bi.center",
height: 44,
rgap: 15,
items: [{
type: "bi.right_vertical_adapt",
lgap: 10,
items: items
}]
});
},
_createView: function () {
var self = this, o = this.options;
var button = BI.createWidget({
type: "bi.label",
cls: "bar-popup-container",
text: o.text,
whiteSpace: "normal",
textAlign: "left",
ref: function () {
self.text = this;
},
hgap: 15,
tgap: 10
});
button.element.css("min-height", o.minHeight - 44);
return button;
},
populate: function (v) { populate: function (v) {
this.text.setText(v || this.options.text); this.text.setText(v || this.options.text);
} }

40
dist/bundle.min.js vendored

File diff suppressed because one or more lines are too long

60
dist/case.js vendored

@ -4088,7 +4088,7 @@ BI.shortcut("bi.bubble_bar_popup_view", BI.BubblePopupBarView);
* @class BI.TextBubblePopupBarView * @class BI.TextBubblePopupBarView
* @extends BI.BubblePopupView * @extends BI.BubblePopupView
*/ */
BI.TextBubblePopupBarView = BI.inherit(BI.Widget, { BI.TextBubblePopupBarView = BI.inherit(BI.BubblePopupView, {
props: function () { props: function () {
return { return {
@ -4126,18 +4126,62 @@ BI.TextBubblePopupBarView = BI.inherit(BI.Widget, {
self.popup = this; self.popup = this;
}, },
el: { el: {
type: "bi.label",
text: o.text,
whiteSpace: "normal",
textAlign: "left",
ref: function () {
self.text = this;
}
}, },
buttons: buttons buttons: buttons
}; };
}, },
_createToolBar: function () {
var o = this.options, self = this;
var items = [];
BI.each(o.buttons, function (i, buttonOpt) {
if (BI.isWidget(buttonOpt)) {
items.push(buttonOpt);
} else {
items.push(BI.extend({
type: "bi.button",
height: 24,
handler: function (v) {
self.fireEvent(BI.BubblePopupBarView.EVENT_CLICK_TOOLBAR_BUTTON, v);
}
}, buttonOpt));
}
});
return BI.createWidget({
type: "bi.center",
height: 44,
rgap: 15,
items: [{
type: "bi.right_vertical_adapt",
lgap: 10,
items: items
}]
});
},
_createView: function () {
var self = this, o = this.options;
var button = BI.createWidget({
type: "bi.label",
cls: "bar-popup-container",
text: o.text,
whiteSpace: "normal",
textAlign: "left",
ref: function () {
self.text = this;
},
hgap: 15,
tgap: 10
});
button.element.css("min-height", o.minHeight - 44);
return button;
},
populate: function (v) { populate: function (v) {
this.text.setText(v || this.options.text); this.text.setText(v || this.options.text);
} }

61
dist/fineui.ie.js vendored

@ -46147,6 +46147,7 @@ BI.Label = BI.inherit(BI.Single, {
var o = this.options; var o = this.options;
return { return {
type: "bi.text", type: "bi.text",
textAlign: o.textAlign,
whiteSpace: o.whiteSpace, whiteSpace: o.whiteSpace,
lineHeight: o.textHeight, lineHeight: o.textHeight,
text: o.text, text: o.text,
@ -53533,7 +53534,7 @@ BI.shortcut("bi.bubble_bar_popup_view", BI.BubblePopupBarView);
* @class BI.TextBubblePopupBarView * @class BI.TextBubblePopupBarView
* @extends BI.BubblePopupView * @extends BI.BubblePopupView
*/ */
BI.TextBubblePopupBarView = BI.inherit(BI.Widget, { BI.TextBubblePopupBarView = BI.inherit(BI.BubblePopupView, {
props: function () { props: function () {
return { return {
@ -53571,18 +53572,62 @@ BI.TextBubblePopupBarView = BI.inherit(BI.Widget, {
self.popup = this; self.popup = this;
}, },
el: { el: {
type: "bi.label",
text: o.text,
whiteSpace: "normal",
textAlign: "left",
ref: function () {
self.text = this;
}
}, },
buttons: buttons buttons: buttons
}; };
}, },
_createToolBar: function () {
var o = this.options, self = this;
var items = [];
BI.each(o.buttons, function (i, buttonOpt) {
if (BI.isWidget(buttonOpt)) {
items.push(buttonOpt);
} else {
items.push(BI.extend({
type: "bi.button",
height: 24,
handler: function (v) {
self.fireEvent(BI.BubblePopupBarView.EVENT_CLICK_TOOLBAR_BUTTON, v);
}
}, buttonOpt));
}
});
return BI.createWidget({
type: "bi.center",
height: 44,
rgap: 15,
items: [{
type: "bi.right_vertical_adapt",
lgap: 10,
items: items
}]
});
},
_createView: function () {
var self = this, o = this.options;
var button = BI.createWidget({
type: "bi.label",
cls: "bar-popup-container",
text: o.text,
whiteSpace: "normal",
textAlign: "left",
ref: function () {
self.text = this;
},
hgap: 15,
tgap: 10
});
button.element.css("min-height", o.minHeight - 44);
return button;
},
populate: function (v) { populate: function (v) {
this.text.setText(v || this.options.text); this.text.setText(v || this.options.text);
} }

38
dist/fineui.ie.min.js vendored

File diff suppressed because one or more lines are too long

61
dist/fineui.js vendored

@ -46551,6 +46551,7 @@ BI.Label = BI.inherit(BI.Single, {
var o = this.options; var o = this.options;
return { return {
type: "bi.text", type: "bi.text",
textAlign: o.textAlign,
whiteSpace: o.whiteSpace, whiteSpace: o.whiteSpace,
lineHeight: o.textHeight, lineHeight: o.textHeight,
text: o.text, text: o.text,
@ -53937,7 +53938,7 @@ BI.shortcut("bi.bubble_bar_popup_view", BI.BubblePopupBarView);
* @class BI.TextBubblePopupBarView * @class BI.TextBubblePopupBarView
* @extends BI.BubblePopupView * @extends BI.BubblePopupView
*/ */
BI.TextBubblePopupBarView = BI.inherit(BI.Widget, { BI.TextBubblePopupBarView = BI.inherit(BI.BubblePopupView, {
props: function () { props: function () {
return { return {
@ -53975,18 +53976,62 @@ BI.TextBubblePopupBarView = BI.inherit(BI.Widget, {
self.popup = this; self.popup = this;
}, },
el: { el: {
type: "bi.label",
text: o.text,
whiteSpace: "normal",
textAlign: "left",
ref: function () {
self.text = this;
}
}, },
buttons: buttons buttons: buttons
}; };
}, },
_createToolBar: function () {
var o = this.options, self = this;
var items = [];
BI.each(o.buttons, function (i, buttonOpt) {
if (BI.isWidget(buttonOpt)) {
items.push(buttonOpt);
} else {
items.push(BI.extend({
type: "bi.button",
height: 24,
handler: function (v) {
self.fireEvent(BI.BubblePopupBarView.EVENT_CLICK_TOOLBAR_BUTTON, v);
}
}, buttonOpt));
}
});
return BI.createWidget({
type: "bi.center",
height: 44,
rgap: 15,
items: [{
type: "bi.right_vertical_adapt",
lgap: 10,
items: items
}]
});
},
_createView: function () {
var self = this, o = this.options;
var button = BI.createWidget({
type: "bi.label",
cls: "bar-popup-container",
text: o.text,
whiteSpace: "normal",
textAlign: "left",
ref: function () {
self.text = this;
},
hgap: 15,
tgap: 10
});
button.element.css("min-height", o.minHeight - 44);
return button;
},
populate: function (v) { populate: function (v) {
this.text.setText(v || this.options.text); this.text.setText(v || this.options.text);
} }

40
dist/fineui.min.js vendored

File diff suppressed because one or more lines are too long

61
dist/fineui_without_jquery_polyfill.js vendored

@ -33533,6 +33533,7 @@ BI.Label = BI.inherit(BI.Single, {
var o = this.options; var o = this.options;
return { return {
type: "bi.text", type: "bi.text",
textAlign: o.textAlign,
whiteSpace: o.whiteSpace, whiteSpace: o.whiteSpace,
lineHeight: o.textHeight, lineHeight: o.textHeight,
text: o.text, text: o.text,
@ -36947,7 +36948,7 @@ BI.shortcut("bi.bubble_bar_popup_view", BI.BubblePopupBarView);
* @class BI.TextBubblePopupBarView * @class BI.TextBubblePopupBarView
* @extends BI.BubblePopupView * @extends BI.BubblePopupView
*/ */
BI.TextBubblePopupBarView = BI.inherit(BI.Widget, { BI.TextBubblePopupBarView = BI.inherit(BI.BubblePopupView, {
props: function () { props: function () {
return { return {
@ -36985,18 +36986,62 @@ BI.TextBubblePopupBarView = BI.inherit(BI.Widget, {
self.popup = this; self.popup = this;
}, },
el: { el: {
type: "bi.label",
text: o.text,
whiteSpace: "normal",
textAlign: "left",
ref: function () {
self.text = this;
}
}, },
buttons: buttons buttons: buttons
}; };
}, },
_createToolBar: function () {
var o = this.options, self = this;
var items = [];
BI.each(o.buttons, function (i, buttonOpt) {
if (BI.isWidget(buttonOpt)) {
items.push(buttonOpt);
} else {
items.push(BI.extend({
type: "bi.button",
height: 24,
handler: function (v) {
self.fireEvent(BI.BubblePopupBarView.EVENT_CLICK_TOOLBAR_BUTTON, v);
}
}, buttonOpt));
}
});
return BI.createWidget({
type: "bi.center",
height: 44,
rgap: 15,
items: [{
type: "bi.right_vertical_adapt",
lgap: 10,
items: items
}]
});
},
_createView: function () {
var self = this, o = this.options;
var button = BI.createWidget({
type: "bi.label",
cls: "bar-popup-container",
text: o.text,
whiteSpace: "normal",
textAlign: "left",
ref: function () {
self.text = this;
},
hgap: 15,
tgap: 10
});
button.element.css("min-height", o.minHeight - 44);
return button;
},
populate: function (v) { populate: function (v) {
this.text.setText(v || this.options.text); this.text.setText(v || this.options.text);
} }

2
dist/utils.min.js vendored

File diff suppressed because one or more lines are too long

1
src/base/single/label/label.js

@ -28,6 +28,7 @@ BI.Label = BI.inherit(BI.Single, {
var o = this.options; var o = this.options;
return { return {
type: "bi.text", type: "bi.text",
textAlign: o.textAlign,
whiteSpace: o.whiteSpace, whiteSpace: o.whiteSpace,
lineHeight: o.textHeight, lineHeight: o.textHeight,
text: o.text, text: o.text,

60
src/case/combo/bubblecombo/popup.bubble.js

@ -97,7 +97,7 @@ BI.shortcut("bi.bubble_bar_popup_view", BI.BubblePopupBarView);
* @class BI.TextBubblePopupBarView * @class BI.TextBubblePopupBarView
* @extends BI.BubblePopupView * @extends BI.BubblePopupView
*/ */
BI.TextBubblePopupBarView = BI.inherit(BI.Widget, { BI.TextBubblePopupBarView = BI.inherit(BI.BubblePopupView, {
props: function () { props: function () {
return { return {
@ -135,18 +135,62 @@ BI.TextBubblePopupBarView = BI.inherit(BI.Widget, {
self.popup = this; self.popup = this;
}, },
el: { el: {
type: "bi.label",
text: o.text,
whiteSpace: "normal",
textAlign: "left",
ref: function () {
self.text = this;
}
}, },
buttons: buttons buttons: buttons
}; };
}, },
_createToolBar: function () {
var o = this.options, self = this;
var items = [];
BI.each(o.buttons, function (i, buttonOpt) {
if (BI.isWidget(buttonOpt)) {
items.push(buttonOpt);
} else {
items.push(BI.extend({
type: "bi.button",
height: 24,
handler: function (v) {
self.fireEvent(BI.BubblePopupBarView.EVENT_CLICK_TOOLBAR_BUTTON, v);
}
}, buttonOpt));
}
});
return BI.createWidget({
type: "bi.center",
height: 44,
rgap: 15,
items: [{
type: "bi.right_vertical_adapt",
lgap: 10,
items: items
}]
});
},
_createView: function () {
var self = this, o = this.options;
var button = BI.createWidget({
type: "bi.label",
cls: "bar-popup-container",
text: o.text,
whiteSpace: "normal",
textAlign: "left",
ref: function () {
self.text = this;
},
hgap: 15,
tgap: 10
});
button.element.css("min-height", o.minHeight - 44);
return button;
},
populate: function (v) { populate: function (v) {
this.text.setText(v || this.options.text); this.text.setText(v || this.options.text);
} }

Loading…
Cancel
Save