Browse Source

Merge remote-tracking branch 'origin/master'

es6
guy 3 years ago
parent
commit
f7e4b358d5
  1. 4
      dist/2.0/fineui.css
  2. 4
      dist/2.0/fineui.ie.min.js
  3. 2
      dist/2.0/fineui.ie.min.js.map
  4. 46
      dist/2.0/fineui.js
  5. 2
      dist/2.0/fineui.js.map
  6. 4
      dist/2.0/fineui.min.css
  7. 4
      dist/2.0/fineui.min.js
  8. 2
      dist/2.0/fineui.min.js.map
  9. 4
      dist/2.0/fineui.modern.min.css
  10. 2
      dist/2.0/fineui.modern.min.js
  11. 4
      dist/2.0/fineui_without_normalize.css
  12. 4
      dist/2.0/fineui_without_normalize.min.css
  13. 4
      dist/core.css
  14. 46
      dist/core.js
  15. 2
      dist/core.js.map
  16. 4
      dist/demo.css
  17. 46
      dist/demo.js
  18. 2
      dist/demo.js.map
  19. 4
      dist/fineui.css
  20. 4
      dist/fineui.ie.min.js
  21. 2
      dist/fineui.ie.min.js.map
  22. 46
      dist/fineui.js
  23. 2
      dist/fineui.js.map
  24. 4
      dist/fineui.min.css
  25. 4
      dist/fineui.min.js
  26. 2
      dist/fineui.min.js.map
  27. 4
      dist/fineui.modern.min.css
  28. 2
      dist/fineui.modern.min.js
  29. 4
      dist/fineui.proxy.css
  30. 46
      dist/fineui.proxy.js
  31. 2
      dist/fineui.proxy.js.map
  32. 4
      dist/fineui.proxy.min.css
  33. 4
      dist/fineui.proxy.min.js
  34. 2
      dist/fineui.proxy.min.js.map
  35. 46
      dist/fineui_without_jquery_polyfill.js
  36. 2
      dist/fineui_without_jquery_polyfill.js.map
  37. 4
      dist/fineui_without_normalize.min.css
  38. 2
      dist/font.css
  39. BIN
      dist/images/1x/icon/auto_square_normal.png
  40. BIN
      dist/images/1x/icon/dark/auto_square_normal.png
  41. BIN
      dist/images/1x/icon/dark/trans_disable.png
  42. BIN
      dist/images/1x/icon/trans_disable.png
  43. BIN
      dist/images/2x/icon/auto_disable.png
  44. BIN
      dist/images/2x/icon/auto_square_normal.png
  45. BIN
      dist/images/2x/icon/dark/auto_square_normal.png
  46. BIN
      dist/images/2x/icon/dark/trans_disable.png
  47. BIN
      dist/images/2x/icon/trans_disable.png
  48. 4
      dist/resource.css
  49. 2
      dist/utils.js
  50. 2
      dist/utils.min.js
  51. 2
      package.json
  52. 2
      src/case/colorchooser/colorchooser.js
  53. 6
      src/case/colorchooser/colorchooser.popup.hex.js
  54. 2
      src/case/colorchooser/colorpicker/button/button.colorpicker.js
  55. 18
      src/case/colorchooser/colorpicker/editor.colorpicker.hex.js
  56. 14
      src/case/colorchooser/colorpicker/editor.colorpicker.hex.simple.js
  57. 8
      src/less/base/colorchooser/colorpicker/editor.colorpicker.less
  58. 2
      src/less/lib/background.less
  59. 4
      src/less/lib/icon.less
  60. 14
      src/less/resource/background.less
  61. 7
      src/less/resource/icon.less
  62. 2
      src/widget/yearquarter/trigger.yearquarter.js

4
dist/2.0/fineui.css vendored

File diff suppressed because one or more lines are too long

4
dist/2.0/fineui.ie.min.js vendored

File diff suppressed because one or more lines are too long

2
dist/2.0/fineui.ie.min.js.map vendored

File diff suppressed because one or more lines are too long

46
dist/2.0/fineui.js vendored

@ -1,4 +1,4 @@
/*! time: 2021-9-13 22:10:57 */
/*! time: 2021-9-15 14:02:06 */
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
@ -36793,7 +36793,7 @@ BI.ColorChooser = BI.inherit(BI.Widget, {
}]
}, o.popup),
value: o.value,
width: 292
width: 300
},
value: o.value
});
@ -36853,7 +36853,7 @@ BI.HexColorChooserPopup = BI.inherit(BI.Widget, {
props: {
baseCls: "bi-color-chooser-popup",
width: 292,
width: 300,
recommendColorsGetter: BI.emptyFn, // 推荐色获取接口
simple: false // 简单模式, popup中没有自动和透明
},
@ -36867,11 +36867,11 @@ BI.HexColorChooserPopup = BI.inherit(BI.Widget, {
items: [{
el: {
type: "bi.vertical",
hgap: 10,
hgap: 15,
items: [BI.extend({
type: o.simple ? "bi.simple_hex_color_picker_editor" : "bi.hex_color_picker_editor",
value: o.value,
height: o.simple ? 30 : 64,
height: o.simple ? 36 : 70,
listeners: [{
eventName: BI.ColorPickerEditor.EVENT_CHANGE,
action: function () {
@ -37752,7 +37752,7 @@ BI.ColorPickerButton = BI.inherit(BI.BasicButton, {
var self = this, o = this.options;
if (BI.isNotNull(o.value)) {
if (o.value === '') {
this.element.addClass("auto-color-normal-background");
this.element.addClass("auto-color-square-normal-background");
} else if (o.value === "transparent") {
this.element.addClass("trans-color-background");
} else {
@ -38261,7 +38261,7 @@ BI.HexColorPickerEditor = BI.inherit(BI.Widget, {
allowBlank: true,
value: 255,
width: c.RGB_WIDTH,
height: 20,
height: 24,
listeners: [{
eventName: BI.TextEditor.EVENT_CHANGE,
action: function () {
@ -38344,20 +38344,20 @@ BI.HexColorPickerEditor = BI.inherit(BI.Widget, {
}, {
el: {
type: "bi.vertical_adapt",
columnSize: [16, 10, 'fill', 12, c.RGB_WIDTH, 12, c.RGB_WIDTH, 12, c.RGB_WIDTH],
columnSize: [22, 10, 'fill', 12, c.RGB_WIDTH, 12, c.RGB_WIDTH, 12, c.RGB_WIDTH],
rgap: 5,
items: [{
el: {
type: "bi.layout",
cls: "color-picker-editor-display bi-card bi-border",
height: 16,
width: 16,
height: 22,
width: 22,
ref: function (_ref) {
self.colorShow = _ref;
}
},
width: 16
width: 18
}, {
type: "bi.label",
text: "#",
@ -38372,7 +38372,7 @@ BI.HexColorPickerEditor = BI.inherit(BI.Widget, {
allowBlank: true,
errorText: BI.i18nText("BI-Color_Picker_Error_Text_Hex"),
width: c.HEX_WIDTH,
height: 20,
height: 24,
listeners: [{
eventName: "EVENT_CHANGE",
action: function () {
@ -38461,11 +38461,11 @@ BI.HexColorPickerEditor = BI.inherit(BI.Widget, {
_showPreColor: function (color) {
if (color === "") {
this.colorShow.element.css("background-color", "").removeClass("trans-color-background").addClass("auto-color-normal-background");
this.colorShow.element.css("background-color", "").removeClass("trans-color-background").addClass("auto-color-square-normal-background");
} else if (color === "transparent") {
this.colorShow.element.css("background-color", "").removeClass("auto-color-normal-background").addClass("trans-color-background");
this.colorShow.element.css("background-color", "").removeClass("auto-color-square-normal-background").addClass("trans-color-background");
} else {
this.colorShow.element.css({"background-color": color}).removeClass("auto-color-normal-background").removeClass("trans-color-background");
this.colorShow.element.css({"background-color": color}).removeClass("auto-color-square-normal-background").removeClass("trans-color-background");
}
},
@ -38547,7 +38547,7 @@ BI.SimpleHexColorPickerEditor = BI.inherit(BI.Widget, {
props: {
baseCls: "bi-color-picker-editor",
height: 30
height: 36
},
render: function () {
@ -38571,7 +38571,7 @@ BI.SimpleHexColorPickerEditor = BI.inherit(BI.Widget, {
allowBlank: true,
value: 255,
width: c.RGB_WIDTH,
height: 20,
height: 24,
listeners: [{
eventName: BI.TextEditor.EVENT_CHANGE,
action: function () {
@ -38592,18 +38592,18 @@ BI.SimpleHexColorPickerEditor = BI.inherit(BI.Widget, {
el: {
type: "bi.vertical_adapt",
rgap: 5,
columnSize: [16, 10, 'fill', 12, c.RGB_WIDTH, 12, c.RGB_WIDTH, 12, c.RGB_WIDTH],
columnSize: [22, 10, 'fill', 12, c.RGB_WIDTH, 12, c.RGB_WIDTH, 12, c.RGB_WIDTH],
items: [{
el: {
type: "bi.layout",
cls: "color-picker-editor-display bi-card bi-border",
height: 16,
width: 16,
height: 22,
width: 22,
ref: function (_ref) {
self.colorShow = _ref;
}
},
width: 16,
width: 18,
}, {
type: "bi.label",
text: "#",
@ -38618,7 +38618,7 @@ BI.SimpleHexColorPickerEditor = BI.inherit(BI.Widget, {
allowBlank: true,
errorText: BI.i18nText("BI-Color_Picker_Error_Text_Hex"),
width: c.HEX_WIDTH,
height: 20,
height: 24,
listeners: [{
eventName: "EVENT_CHANGE",
action: function () {
@ -74181,7 +74181,7 @@ BI.DynamicYearQuarterTrigger = BI.inherit(BI.Trigger, {
if(BI.isEmptyString(month)) {
month = parseInt(v, 10) === BI.parseDateTime(o.min, "%Y-%X-%d").getFullYear() ? BI.parseDateTime(o.min, "%Y-%X-%d").getMonth() + 1 : 1;
} else {
month = (v - 1) * 3 + 1;
month = (parseInt(month, 10) - 1) * 3 + 1;
}
return v === "" || (BI.isPositiveInteger(v) && !BI.checkDateVoid(v, month, 1, o.min, o.max)[0]);
}

2
dist/2.0/fineui.js.map vendored

File diff suppressed because one or more lines are too long

4
dist/2.0/fineui.min.css vendored

File diff suppressed because one or more lines are too long

4
dist/2.0/fineui.min.js vendored

File diff suppressed because one or more lines are too long

2
dist/2.0/fineui.min.js.map vendored

File diff suppressed because one or more lines are too long

4
dist/2.0/fineui.modern.min.css vendored

File diff suppressed because one or more lines are too long

2
dist/2.0/fineui.modern.min.js vendored

@ -1,2 +1,2 @@
/*! time: 2021-9-13 22:10:57 */
/*! time: 2021-9-15 14:02:06 */
!function(e){var n={};function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:r})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,n){if(1&n&&(e=t(e)),8&n)return e;if(4&n&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(t.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var o in e)t.d(r,o,function(n){return e[n]}.bind(null,o));return r},t.n=function(e){var n=e&&e.__esModule?function(){return e["default"]}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},t.p="",t(t.s=1450)}({1192:function(e,n,t){},1450:function(e,n,t){t(1192),t(1451),t(1452),t(1453),t(1454),e.exports=t(1455)},1451:function(e,n,t){},1452:function(e,n,t){},1453:function(e,n,t){},1454:function(e,n,t){},1455:function(e,n,t){}});

4
dist/2.0/fineui_without_normalize.css vendored

File diff suppressed because one or more lines are too long

4
dist/2.0/fineui_without_normalize.min.css vendored

File diff suppressed because one or more lines are too long

4
dist/core.css vendored

File diff suppressed because one or more lines are too long

46
dist/core.js vendored

@ -1,4 +1,4 @@
/*! time: 2021-9-13 22:10:57 */
/*! time: 2021-9-15 14:02:06 */
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
@ -36793,7 +36793,7 @@ BI.ColorChooser = BI.inherit(BI.Widget, {
}]
}, o.popup),
value: o.value,
width: 292
width: 300
},
value: o.value
});
@ -36853,7 +36853,7 @@ BI.HexColorChooserPopup = BI.inherit(BI.Widget, {
props: {
baseCls: "bi-color-chooser-popup",
width: 292,
width: 300,
recommendColorsGetter: BI.emptyFn, // 推荐色获取接口
simple: false // 简单模式, popup中没有自动和透明
},
@ -36867,11 +36867,11 @@ BI.HexColorChooserPopup = BI.inherit(BI.Widget, {
items: [{
el: {
type: "bi.vertical",
hgap: 10,
hgap: 15,
items: [BI.extend({
type: o.simple ? "bi.simple_hex_color_picker_editor" : "bi.hex_color_picker_editor",
value: o.value,
height: o.simple ? 30 : 64,
height: o.simple ? 36 : 70,
listeners: [{
eventName: BI.ColorPickerEditor.EVENT_CHANGE,
action: function () {
@ -37752,7 +37752,7 @@ BI.ColorPickerButton = BI.inherit(BI.BasicButton, {
var self = this, o = this.options;
if (BI.isNotNull(o.value)) {
if (o.value === '') {
this.element.addClass("auto-color-normal-background");
this.element.addClass("auto-color-square-normal-background");
} else if (o.value === "transparent") {
this.element.addClass("trans-color-background");
} else {
@ -38261,7 +38261,7 @@ BI.HexColorPickerEditor = BI.inherit(BI.Widget, {
allowBlank: true,
value: 255,
width: c.RGB_WIDTH,
height: 20,
height: 24,
listeners: [{
eventName: BI.TextEditor.EVENT_CHANGE,
action: function () {
@ -38344,20 +38344,20 @@ BI.HexColorPickerEditor = BI.inherit(BI.Widget, {
}, {
el: {
type: "bi.vertical_adapt",
columnSize: [16, 10, 'fill', 12, c.RGB_WIDTH, 12, c.RGB_WIDTH, 12, c.RGB_WIDTH],
columnSize: [22, 10, 'fill', 12, c.RGB_WIDTH, 12, c.RGB_WIDTH, 12, c.RGB_WIDTH],
rgap: 5,
items: [{
el: {
type: "bi.layout",
cls: "color-picker-editor-display bi-card bi-border",
height: 16,
width: 16,
height: 22,
width: 22,
ref: function (_ref) {
self.colorShow = _ref;
}
},
width: 16
width: 18
}, {
type: "bi.label",
text: "#",
@ -38372,7 +38372,7 @@ BI.HexColorPickerEditor = BI.inherit(BI.Widget, {
allowBlank: true,
errorText: BI.i18nText("BI-Color_Picker_Error_Text_Hex"),
width: c.HEX_WIDTH,
height: 20,
height: 24,
listeners: [{
eventName: "EVENT_CHANGE",
action: function () {
@ -38461,11 +38461,11 @@ BI.HexColorPickerEditor = BI.inherit(BI.Widget, {
_showPreColor: function (color) {
if (color === "") {
this.colorShow.element.css("background-color", "").removeClass("trans-color-background").addClass("auto-color-normal-background");
this.colorShow.element.css("background-color", "").removeClass("trans-color-background").addClass("auto-color-square-normal-background");
} else if (color === "transparent") {
this.colorShow.element.css("background-color", "").removeClass("auto-color-normal-background").addClass("trans-color-background");
this.colorShow.element.css("background-color", "").removeClass("auto-color-square-normal-background").addClass("trans-color-background");
} else {
this.colorShow.element.css({"background-color": color}).removeClass("auto-color-normal-background").removeClass("trans-color-background");
this.colorShow.element.css({"background-color": color}).removeClass("auto-color-square-normal-background").removeClass("trans-color-background");
}
},
@ -38547,7 +38547,7 @@ BI.SimpleHexColorPickerEditor = BI.inherit(BI.Widget, {
props: {
baseCls: "bi-color-picker-editor",
height: 30
height: 36
},
render: function () {
@ -38571,7 +38571,7 @@ BI.SimpleHexColorPickerEditor = BI.inherit(BI.Widget, {
allowBlank: true,
value: 255,
width: c.RGB_WIDTH,
height: 20,
height: 24,
listeners: [{
eventName: BI.TextEditor.EVENT_CHANGE,
action: function () {
@ -38592,18 +38592,18 @@ BI.SimpleHexColorPickerEditor = BI.inherit(BI.Widget, {
el: {
type: "bi.vertical_adapt",
rgap: 5,
columnSize: [16, 10, 'fill', 12, c.RGB_WIDTH, 12, c.RGB_WIDTH, 12, c.RGB_WIDTH],
columnSize: [22, 10, 'fill', 12, c.RGB_WIDTH, 12, c.RGB_WIDTH, 12, c.RGB_WIDTH],
items: [{
el: {
type: "bi.layout",
cls: "color-picker-editor-display bi-card bi-border",
height: 16,
width: 16,
height: 22,
width: 22,
ref: function (_ref) {
self.colorShow = _ref;
}
},
width: 16,
width: 18,
}, {
type: "bi.label",
text: "#",
@ -38618,7 +38618,7 @@ BI.SimpleHexColorPickerEditor = BI.inherit(BI.Widget, {
allowBlank: true,
errorText: BI.i18nText("BI-Color_Picker_Error_Text_Hex"),
width: c.HEX_WIDTH,
height: 20,
height: 24,
listeners: [{
eventName: "EVENT_CHANGE",
action: function () {
@ -74181,7 +74181,7 @@ BI.DynamicYearQuarterTrigger = BI.inherit(BI.Trigger, {
if(BI.isEmptyString(month)) {
month = parseInt(v, 10) === BI.parseDateTime(o.min, "%Y-%X-%d").getFullYear() ? BI.parseDateTime(o.min, "%Y-%X-%d").getMonth() + 1 : 1;
} else {
month = (v - 1) * 3 + 1;
month = (parseInt(month, 10) - 1) * 3 + 1;
}
return v === "" || (BI.isPositiveInteger(v) && !BI.checkDateVoid(v, month, 1, o.min, o.max)[0]);
}

2
dist/core.js.map vendored

File diff suppressed because one or more lines are too long

4
dist/demo.css vendored

File diff suppressed because one or more lines are too long

46
dist/demo.js vendored

@ -1,4 +1,4 @@
/*! time: 2021-9-13 22:10:57 */
/*! time: 2021-9-15 14:02:06 */
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
@ -36793,7 +36793,7 @@ BI.ColorChooser = BI.inherit(BI.Widget, {
}]
}, o.popup),
value: o.value,
width: 292
width: 300
},
value: o.value
});
@ -36853,7 +36853,7 @@ BI.HexColorChooserPopup = BI.inherit(BI.Widget, {
props: {
baseCls: "bi-color-chooser-popup",
width: 292,
width: 300,
recommendColorsGetter: BI.emptyFn, // 推荐色获取接口
simple: false // 简单模式, popup中没有自动和透明
},
@ -36867,11 +36867,11 @@ BI.HexColorChooserPopup = BI.inherit(BI.Widget, {
items: [{
el: {
type: "bi.vertical",
hgap: 10,
hgap: 15,
items: [BI.extend({
type: o.simple ? "bi.simple_hex_color_picker_editor" : "bi.hex_color_picker_editor",
value: o.value,
height: o.simple ? 30 : 64,
height: o.simple ? 36 : 70,
listeners: [{
eventName: BI.ColorPickerEditor.EVENT_CHANGE,
action: function () {
@ -37752,7 +37752,7 @@ BI.ColorPickerButton = BI.inherit(BI.BasicButton, {
var self = this, o = this.options;
if (BI.isNotNull(o.value)) {
if (o.value === '') {
this.element.addClass("auto-color-normal-background");
this.element.addClass("auto-color-square-normal-background");
} else if (o.value === "transparent") {
this.element.addClass("trans-color-background");
} else {
@ -38261,7 +38261,7 @@ BI.HexColorPickerEditor = BI.inherit(BI.Widget, {
allowBlank: true,
value: 255,
width: c.RGB_WIDTH,
height: 20,
height: 24,
listeners: [{
eventName: BI.TextEditor.EVENT_CHANGE,
action: function () {
@ -38344,20 +38344,20 @@ BI.HexColorPickerEditor = BI.inherit(BI.Widget, {
}, {
el: {
type: "bi.vertical_adapt",
columnSize: [16, 10, 'fill', 12, c.RGB_WIDTH, 12, c.RGB_WIDTH, 12, c.RGB_WIDTH],
columnSize: [22, 10, 'fill', 12, c.RGB_WIDTH, 12, c.RGB_WIDTH, 12, c.RGB_WIDTH],
rgap: 5,
items: [{
el: {
type: "bi.layout",
cls: "color-picker-editor-display bi-card bi-border",
height: 16,
width: 16,
height: 22,
width: 22,
ref: function (_ref) {
self.colorShow = _ref;
}
},
width: 16
width: 18
}, {
type: "bi.label",
text: "#",
@ -38372,7 +38372,7 @@ BI.HexColorPickerEditor = BI.inherit(BI.Widget, {
allowBlank: true,
errorText: BI.i18nText("BI-Color_Picker_Error_Text_Hex"),
width: c.HEX_WIDTH,
height: 20,
height: 24,
listeners: [{
eventName: "EVENT_CHANGE",
action: function () {
@ -38461,11 +38461,11 @@ BI.HexColorPickerEditor = BI.inherit(BI.Widget, {
_showPreColor: function (color) {
if (color === "") {
this.colorShow.element.css("background-color", "").removeClass("trans-color-background").addClass("auto-color-normal-background");
this.colorShow.element.css("background-color", "").removeClass("trans-color-background").addClass("auto-color-square-normal-background");
} else if (color === "transparent") {
this.colorShow.element.css("background-color", "").removeClass("auto-color-normal-background").addClass("trans-color-background");
this.colorShow.element.css("background-color", "").removeClass("auto-color-square-normal-background").addClass("trans-color-background");
} else {
this.colorShow.element.css({"background-color": color}).removeClass("auto-color-normal-background").removeClass("trans-color-background");
this.colorShow.element.css({"background-color": color}).removeClass("auto-color-square-normal-background").removeClass("trans-color-background");
}
},
@ -38547,7 +38547,7 @@ BI.SimpleHexColorPickerEditor = BI.inherit(BI.Widget, {
props: {
baseCls: "bi-color-picker-editor",
height: 30
height: 36
},
render: function () {
@ -38571,7 +38571,7 @@ BI.SimpleHexColorPickerEditor = BI.inherit(BI.Widget, {
allowBlank: true,
value: 255,
width: c.RGB_WIDTH,
height: 20,
height: 24,
listeners: [{
eventName: BI.TextEditor.EVENT_CHANGE,
action: function () {
@ -38592,18 +38592,18 @@ BI.SimpleHexColorPickerEditor = BI.inherit(BI.Widget, {
el: {
type: "bi.vertical_adapt",
rgap: 5,
columnSize: [16, 10, 'fill', 12, c.RGB_WIDTH, 12, c.RGB_WIDTH, 12, c.RGB_WIDTH],
columnSize: [22, 10, 'fill', 12, c.RGB_WIDTH, 12, c.RGB_WIDTH, 12, c.RGB_WIDTH],
items: [{
el: {
type: "bi.layout",
cls: "color-picker-editor-display bi-card bi-border",
height: 16,
width: 16,
height: 22,
width: 22,
ref: function (_ref) {
self.colorShow = _ref;
}
},
width: 16,
width: 18,
}, {
type: "bi.label",
text: "#",
@ -38618,7 +38618,7 @@ BI.SimpleHexColorPickerEditor = BI.inherit(BI.Widget, {
allowBlank: true,
errorText: BI.i18nText("BI-Color_Picker_Error_Text_Hex"),
width: c.HEX_WIDTH,
height: 20,
height: 24,
listeners: [{
eventName: "EVENT_CHANGE",
action: function () {
@ -74181,7 +74181,7 @@ BI.DynamicYearQuarterTrigger = BI.inherit(BI.Trigger, {
if(BI.isEmptyString(month)) {
month = parseInt(v, 10) === BI.parseDateTime(o.min, "%Y-%X-%d").getFullYear() ? BI.parseDateTime(o.min, "%Y-%X-%d").getMonth() + 1 : 1;
} else {
month = (v - 1) * 3 + 1;
month = (parseInt(month, 10) - 1) * 3 + 1;
}
return v === "" || (BI.isPositiveInteger(v) && !BI.checkDateVoid(v, month, 1, o.min, o.max)[0]);
}

2
dist/demo.js.map vendored

File diff suppressed because one or more lines are too long

4
dist/fineui.css vendored

File diff suppressed because one or more lines are too long

4
dist/fineui.ie.min.js vendored

File diff suppressed because one or more lines are too long

2
dist/fineui.ie.min.js.map vendored

File diff suppressed because one or more lines are too long

46
dist/fineui.js vendored

@ -1,4 +1,4 @@
/*! time: 2021-9-13 22:10:57 */
/*! time: 2021-9-15 14:02:06 */
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
@ -36793,7 +36793,7 @@ BI.ColorChooser = BI.inherit(BI.Widget, {
}]
}, o.popup),
value: o.value,
width: 292
width: 300
},
value: o.value
});
@ -36853,7 +36853,7 @@ BI.HexColorChooserPopup = BI.inherit(BI.Widget, {
props: {
baseCls: "bi-color-chooser-popup",
width: 292,
width: 300,
recommendColorsGetter: BI.emptyFn, // 推荐色获取接口
simple: false // 简单模式, popup中没有自动和透明
},
@ -36867,11 +36867,11 @@ BI.HexColorChooserPopup = BI.inherit(BI.Widget, {
items: [{
el: {
type: "bi.vertical",
hgap: 10,
hgap: 15,
items: [BI.extend({
type: o.simple ? "bi.simple_hex_color_picker_editor" : "bi.hex_color_picker_editor",
value: o.value,
height: o.simple ? 30 : 64,
height: o.simple ? 36 : 70,
listeners: [{
eventName: BI.ColorPickerEditor.EVENT_CHANGE,
action: function () {
@ -37752,7 +37752,7 @@ BI.ColorPickerButton = BI.inherit(BI.BasicButton, {
var self = this, o = this.options;
if (BI.isNotNull(o.value)) {
if (o.value === '') {
this.element.addClass("auto-color-normal-background");
this.element.addClass("auto-color-square-normal-background");
} else if (o.value === "transparent") {
this.element.addClass("trans-color-background");
} else {
@ -38261,7 +38261,7 @@ BI.HexColorPickerEditor = BI.inherit(BI.Widget, {
allowBlank: true,
value: 255,
width: c.RGB_WIDTH,
height: 20,
height: 24,
listeners: [{
eventName: BI.TextEditor.EVENT_CHANGE,
action: function () {
@ -38344,20 +38344,20 @@ BI.HexColorPickerEditor = BI.inherit(BI.Widget, {
}, {
el: {
type: "bi.vertical_adapt",
columnSize: [16, 10, 'fill', 12, c.RGB_WIDTH, 12, c.RGB_WIDTH, 12, c.RGB_WIDTH],
columnSize: [22, 10, 'fill', 12, c.RGB_WIDTH, 12, c.RGB_WIDTH, 12, c.RGB_WIDTH],
rgap: 5,
items: [{
el: {
type: "bi.layout",
cls: "color-picker-editor-display bi-card bi-border",
height: 16,
width: 16,
height: 22,
width: 22,
ref: function (_ref) {
self.colorShow = _ref;
}
},
width: 16
width: 18
}, {
type: "bi.label",
text: "#",
@ -38372,7 +38372,7 @@ BI.HexColorPickerEditor = BI.inherit(BI.Widget, {
allowBlank: true,
errorText: BI.i18nText("BI-Color_Picker_Error_Text_Hex"),
width: c.HEX_WIDTH,
height: 20,
height: 24,
listeners: [{
eventName: "EVENT_CHANGE",
action: function () {
@ -38461,11 +38461,11 @@ BI.HexColorPickerEditor = BI.inherit(BI.Widget, {
_showPreColor: function (color) {
if (color === "") {
this.colorShow.element.css("background-color", "").removeClass("trans-color-background").addClass("auto-color-normal-background");
this.colorShow.element.css("background-color", "").removeClass("trans-color-background").addClass("auto-color-square-normal-background");
} else if (color === "transparent") {
this.colorShow.element.css("background-color", "").removeClass("auto-color-normal-background").addClass("trans-color-background");
this.colorShow.element.css("background-color", "").removeClass("auto-color-square-normal-background").addClass("trans-color-background");
} else {
this.colorShow.element.css({"background-color": color}).removeClass("auto-color-normal-background").removeClass("trans-color-background");
this.colorShow.element.css({"background-color": color}).removeClass("auto-color-square-normal-background").removeClass("trans-color-background");
}
},
@ -38547,7 +38547,7 @@ BI.SimpleHexColorPickerEditor = BI.inherit(BI.Widget, {
props: {
baseCls: "bi-color-picker-editor",
height: 30
height: 36
},
render: function () {
@ -38571,7 +38571,7 @@ BI.SimpleHexColorPickerEditor = BI.inherit(BI.Widget, {
allowBlank: true,
value: 255,
width: c.RGB_WIDTH,
height: 20,
height: 24,
listeners: [{
eventName: BI.TextEditor.EVENT_CHANGE,
action: function () {
@ -38592,18 +38592,18 @@ BI.SimpleHexColorPickerEditor = BI.inherit(BI.Widget, {
el: {
type: "bi.vertical_adapt",
rgap: 5,
columnSize: [16, 10, 'fill', 12, c.RGB_WIDTH, 12, c.RGB_WIDTH, 12, c.RGB_WIDTH],
columnSize: [22, 10, 'fill', 12, c.RGB_WIDTH, 12, c.RGB_WIDTH, 12, c.RGB_WIDTH],
items: [{
el: {
type: "bi.layout",
cls: "color-picker-editor-display bi-card bi-border",
height: 16,
width: 16,
height: 22,
width: 22,
ref: function (_ref) {
self.colorShow = _ref;
}
},
width: 16,
width: 18,
}, {
type: "bi.label",
text: "#",
@ -38618,7 +38618,7 @@ BI.SimpleHexColorPickerEditor = BI.inherit(BI.Widget, {
allowBlank: true,
errorText: BI.i18nText("BI-Color_Picker_Error_Text_Hex"),
width: c.HEX_WIDTH,
height: 20,
height: 24,
listeners: [{
eventName: "EVENT_CHANGE",
action: function () {
@ -74181,7 +74181,7 @@ BI.DynamicYearQuarterTrigger = BI.inherit(BI.Trigger, {
if(BI.isEmptyString(month)) {
month = parseInt(v, 10) === BI.parseDateTime(o.min, "%Y-%X-%d").getFullYear() ? BI.parseDateTime(o.min, "%Y-%X-%d").getMonth() + 1 : 1;
} else {
month = (v - 1) * 3 + 1;
month = (parseInt(month, 10) - 1) * 3 + 1;
}
return v === "" || (BI.isPositiveInteger(v) && !BI.checkDateVoid(v, month, 1, o.min, o.max)[0]);
}

2
dist/fineui.js.map vendored

File diff suppressed because one or more lines are too long

4
dist/fineui.min.css vendored

File diff suppressed because one or more lines are too long

4
dist/fineui.min.js vendored

File diff suppressed because one or more lines are too long

2
dist/fineui.min.js.map vendored

File diff suppressed because one or more lines are too long

4
dist/fineui.modern.min.css vendored

File diff suppressed because one or more lines are too long

2
dist/fineui.modern.min.js vendored

@ -1,2 +1,2 @@
/*! time: 2021-9-13 22:10:57 */
/*! time: 2021-9-15 14:02:06 */
!function(e){var n={};function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:r})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,n){if(1&n&&(e=t(e)),8&n)return e;if(4&n&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(t.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var o in e)t.d(r,o,function(n){return e[n]}.bind(null,o));return r},t.n=function(e){var n=e&&e.__esModule?function(){return e["default"]}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},t.p="",t(t.s=1441)}({1192:function(e,n,t){},1441:function(e,n,t){t(1192),t(1442),t(1443),t(1444),t(1445),e.exports=t(1446)},1442:function(e,n,t){},1443:function(e,n,t){},1444:function(e,n,t){},1445:function(e,n,t){},1446:function(e,n,t){}});

4
dist/fineui.proxy.css vendored

File diff suppressed because one or more lines are too long

46
dist/fineui.proxy.js vendored

@ -1,4 +1,4 @@
/*! time: 2021-9-13 22:10:57 */
/*! time: 2021-9-15 14:02:06 */
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
@ -34254,7 +34254,7 @@ BI.ColorChooser = BI.inherit(BI.Widget, {
}]
}, o.popup),
value: o.value,
width: 292
width: 300
},
value: o.value
});
@ -34314,7 +34314,7 @@ BI.HexColorChooserPopup = BI.inherit(BI.Widget, {
props: {
baseCls: "bi-color-chooser-popup",
width: 292,
width: 300,
recommendColorsGetter: BI.emptyFn, // 推荐色获取接口
simple: false // 简单模式, popup中没有自动和透明
},
@ -34328,11 +34328,11 @@ BI.HexColorChooserPopup = BI.inherit(BI.Widget, {
items: [{
el: {
type: "bi.vertical",
hgap: 10,
hgap: 15,
items: [BI.extend({
type: o.simple ? "bi.simple_hex_color_picker_editor" : "bi.hex_color_picker_editor",
value: o.value,
height: o.simple ? 30 : 64,
height: o.simple ? 36 : 70,
listeners: [{
eventName: BI.ColorPickerEditor.EVENT_CHANGE,
action: function () {
@ -35213,7 +35213,7 @@ BI.ColorPickerButton = BI.inherit(BI.BasicButton, {
var self = this, o = this.options;
if (BI.isNotNull(o.value)) {
if (o.value === '') {
this.element.addClass("auto-color-normal-background");
this.element.addClass("auto-color-square-normal-background");
} else if (o.value === "transparent") {
this.element.addClass("trans-color-background");
} else {
@ -35722,7 +35722,7 @@ BI.HexColorPickerEditor = BI.inherit(BI.Widget, {
allowBlank: true,
value: 255,
width: c.RGB_WIDTH,
height: 20,
height: 24,
listeners: [{
eventName: BI.TextEditor.EVENT_CHANGE,
action: function () {
@ -35805,20 +35805,20 @@ BI.HexColorPickerEditor = BI.inherit(BI.Widget, {
}, {
el: {
type: "bi.vertical_adapt",
columnSize: [16, 10, 'fill', 12, c.RGB_WIDTH, 12, c.RGB_WIDTH, 12, c.RGB_WIDTH],
columnSize: [22, 10, 'fill', 12, c.RGB_WIDTH, 12, c.RGB_WIDTH, 12, c.RGB_WIDTH],
rgap: 5,
items: [{
el: {
type: "bi.layout",
cls: "color-picker-editor-display bi-card bi-border",
height: 16,
width: 16,
height: 22,
width: 22,
ref: function (_ref) {
self.colorShow = _ref;
}
},
width: 16
width: 18
}, {
type: "bi.label",
text: "#",
@ -35833,7 +35833,7 @@ BI.HexColorPickerEditor = BI.inherit(BI.Widget, {
allowBlank: true,
errorText: BI.i18nText("BI-Color_Picker_Error_Text_Hex"),
width: c.HEX_WIDTH,
height: 20,
height: 24,
listeners: [{
eventName: "EVENT_CHANGE",
action: function () {
@ -35922,11 +35922,11 @@ BI.HexColorPickerEditor = BI.inherit(BI.Widget, {
_showPreColor: function (color) {
if (color === "") {
this.colorShow.element.css("background-color", "").removeClass("trans-color-background").addClass("auto-color-normal-background");
this.colorShow.element.css("background-color", "").removeClass("trans-color-background").addClass("auto-color-square-normal-background");
} else if (color === "transparent") {
this.colorShow.element.css("background-color", "").removeClass("auto-color-normal-background").addClass("trans-color-background");
this.colorShow.element.css("background-color", "").removeClass("auto-color-square-normal-background").addClass("trans-color-background");
} else {
this.colorShow.element.css({"background-color": color}).removeClass("auto-color-normal-background").removeClass("trans-color-background");
this.colorShow.element.css({"background-color": color}).removeClass("auto-color-square-normal-background").removeClass("trans-color-background");
}
},
@ -36008,7 +36008,7 @@ BI.SimpleHexColorPickerEditor = BI.inherit(BI.Widget, {
props: {
baseCls: "bi-color-picker-editor",
height: 30
height: 36
},
render: function () {
@ -36032,7 +36032,7 @@ BI.SimpleHexColorPickerEditor = BI.inherit(BI.Widget, {
allowBlank: true,
value: 255,
width: c.RGB_WIDTH,
height: 20,
height: 24,
listeners: [{
eventName: BI.TextEditor.EVENT_CHANGE,
action: function () {
@ -36053,18 +36053,18 @@ BI.SimpleHexColorPickerEditor = BI.inherit(BI.Widget, {
el: {
type: "bi.vertical_adapt",
rgap: 5,
columnSize: [16, 10, 'fill', 12, c.RGB_WIDTH, 12, c.RGB_WIDTH, 12, c.RGB_WIDTH],
columnSize: [22, 10, 'fill', 12, c.RGB_WIDTH, 12, c.RGB_WIDTH, 12, c.RGB_WIDTH],
items: [{
el: {
type: "bi.layout",
cls: "color-picker-editor-display bi-card bi-border",
height: 16,
width: 16,
height: 22,
width: 22,
ref: function (_ref) {
self.colorShow = _ref;
}
},
width: 16,
width: 18,
}, {
type: "bi.label",
text: "#",
@ -36079,7 +36079,7 @@ BI.SimpleHexColorPickerEditor = BI.inherit(BI.Widget, {
allowBlank: true,
errorText: BI.i18nText("BI-Color_Picker_Error_Text_Hex"),
width: c.HEX_WIDTH,
height: 20,
height: 24,
listeners: [{
eventName: "EVENT_CHANGE",
action: function () {
@ -71642,7 +71642,7 @@ BI.DynamicYearQuarterTrigger = BI.inherit(BI.Trigger, {
if(BI.isEmptyString(month)) {
month = parseInt(v, 10) === BI.parseDateTime(o.min, "%Y-%X-%d").getFullYear() ? BI.parseDateTime(o.min, "%Y-%X-%d").getMonth() + 1 : 1;
} else {
month = (v - 1) * 3 + 1;
month = (parseInt(month, 10) - 1) * 3 + 1;
}
return v === "" || (BI.isPositiveInteger(v) && !BI.checkDateVoid(v, month, 1, o.min, o.max)[0]);
}

2
dist/fineui.proxy.js.map vendored

File diff suppressed because one or more lines are too long

4
dist/fineui.proxy.min.css vendored

File diff suppressed because one or more lines are too long

4
dist/fineui.proxy.min.js vendored

File diff suppressed because one or more lines are too long

2
dist/fineui.proxy.min.js.map vendored

File diff suppressed because one or more lines are too long

46
dist/fineui_without_jquery_polyfill.js vendored

@ -1,4 +1,4 @@
/*! time: 2021-9-13 22:10:57 */
/*! time: 2021-9-15 14:02:06 */
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
@ -33879,7 +33879,7 @@ BI.ColorChooser = BI.inherit(BI.Widget, {
}]
}, o.popup),
value: o.value,
width: 292
width: 300
},
value: o.value
});
@ -33939,7 +33939,7 @@ BI.HexColorChooserPopup = BI.inherit(BI.Widget, {
props: {
baseCls: "bi-color-chooser-popup",
width: 292,
width: 300,
recommendColorsGetter: BI.emptyFn, // 推荐色获取接口
simple: false // 简单模式, popup中没有自动和透明
},
@ -33953,11 +33953,11 @@ BI.HexColorChooserPopup = BI.inherit(BI.Widget, {
items: [{
el: {
type: "bi.vertical",
hgap: 10,
hgap: 15,
items: [BI.extend({
type: o.simple ? "bi.simple_hex_color_picker_editor" : "bi.hex_color_picker_editor",
value: o.value,
height: o.simple ? 30 : 64,
height: o.simple ? 36 : 70,
listeners: [{
eventName: BI.ColorPickerEditor.EVENT_CHANGE,
action: function () {
@ -34838,7 +34838,7 @@ BI.ColorPickerButton = BI.inherit(BI.BasicButton, {
var self = this, o = this.options;
if (BI.isNotNull(o.value)) {
if (o.value === '') {
this.element.addClass("auto-color-normal-background");
this.element.addClass("auto-color-square-normal-background");
} else if (o.value === "transparent") {
this.element.addClass("trans-color-background");
} else {
@ -35347,7 +35347,7 @@ BI.HexColorPickerEditor = BI.inherit(BI.Widget, {
allowBlank: true,
value: 255,
width: c.RGB_WIDTH,
height: 20,
height: 24,
listeners: [{
eventName: BI.TextEditor.EVENT_CHANGE,
action: function () {
@ -35430,20 +35430,20 @@ BI.HexColorPickerEditor = BI.inherit(BI.Widget, {
}, {
el: {
type: "bi.vertical_adapt",
columnSize: [16, 10, 'fill', 12, c.RGB_WIDTH, 12, c.RGB_WIDTH, 12, c.RGB_WIDTH],
columnSize: [22, 10, 'fill', 12, c.RGB_WIDTH, 12, c.RGB_WIDTH, 12, c.RGB_WIDTH],
rgap: 5,
items: [{
el: {
type: "bi.layout",
cls: "color-picker-editor-display bi-card bi-border",
height: 16,
width: 16,
height: 22,
width: 22,
ref: function (_ref) {
self.colorShow = _ref;
}
},
width: 16
width: 18
}, {
type: "bi.label",
text: "#",
@ -35458,7 +35458,7 @@ BI.HexColorPickerEditor = BI.inherit(BI.Widget, {
allowBlank: true,
errorText: BI.i18nText("BI-Color_Picker_Error_Text_Hex"),
width: c.HEX_WIDTH,
height: 20,
height: 24,
listeners: [{
eventName: "EVENT_CHANGE",
action: function () {
@ -35547,11 +35547,11 @@ BI.HexColorPickerEditor = BI.inherit(BI.Widget, {
_showPreColor: function (color) {
if (color === "") {
this.colorShow.element.css("background-color", "").removeClass("trans-color-background").addClass("auto-color-normal-background");
this.colorShow.element.css("background-color", "").removeClass("trans-color-background").addClass("auto-color-square-normal-background");
} else if (color === "transparent") {
this.colorShow.element.css("background-color", "").removeClass("auto-color-normal-background").addClass("trans-color-background");
this.colorShow.element.css("background-color", "").removeClass("auto-color-square-normal-background").addClass("trans-color-background");
} else {
this.colorShow.element.css({"background-color": color}).removeClass("auto-color-normal-background").removeClass("trans-color-background");
this.colorShow.element.css({"background-color": color}).removeClass("auto-color-square-normal-background").removeClass("trans-color-background");
}
},
@ -35633,7 +35633,7 @@ BI.SimpleHexColorPickerEditor = BI.inherit(BI.Widget, {
props: {
baseCls: "bi-color-picker-editor",
height: 30
height: 36
},
render: function () {
@ -35657,7 +35657,7 @@ BI.SimpleHexColorPickerEditor = BI.inherit(BI.Widget, {
allowBlank: true,
value: 255,
width: c.RGB_WIDTH,
height: 20,
height: 24,
listeners: [{
eventName: BI.TextEditor.EVENT_CHANGE,
action: function () {
@ -35678,18 +35678,18 @@ BI.SimpleHexColorPickerEditor = BI.inherit(BI.Widget, {
el: {
type: "bi.vertical_adapt",
rgap: 5,
columnSize: [16, 10, 'fill', 12, c.RGB_WIDTH, 12, c.RGB_WIDTH, 12, c.RGB_WIDTH],
columnSize: [22, 10, 'fill', 12, c.RGB_WIDTH, 12, c.RGB_WIDTH, 12, c.RGB_WIDTH],
items: [{
el: {
type: "bi.layout",
cls: "color-picker-editor-display bi-card bi-border",
height: 16,
width: 16,
height: 22,
width: 22,
ref: function (_ref) {
self.colorShow = _ref;
}
},
width: 16,
width: 18,
}, {
type: "bi.label",
text: "#",
@ -35704,7 +35704,7 @@ BI.SimpleHexColorPickerEditor = BI.inherit(BI.Widget, {
allowBlank: true,
errorText: BI.i18nText("BI-Color_Picker_Error_Text_Hex"),
width: c.HEX_WIDTH,
height: 20,
height: 24,
listeners: [{
eventName: "EVENT_CHANGE",
action: function () {
@ -71267,7 +71267,7 @@ BI.DynamicYearQuarterTrigger = BI.inherit(BI.Trigger, {
if(BI.isEmptyString(month)) {
month = parseInt(v, 10) === BI.parseDateTime(o.min, "%Y-%X-%d").getFullYear() ? BI.parseDateTime(o.min, "%Y-%X-%d").getMonth() + 1 : 1;
} else {
month = (v - 1) * 3 + 1;
month = (parseInt(month, 10) - 1) * 3 + 1;
}
return v === "" || (BI.isPositiveInteger(v) && !BI.checkDateVoid(v, month, 1, o.min, o.max)[0]);
}

2
dist/fineui_without_jquery_polyfill.js.map vendored

File diff suppressed because one or more lines are too long

4
dist/fineui_without_normalize.min.css vendored

File diff suppressed because one or more lines are too long

2
dist/font.css vendored

File diff suppressed because one or more lines are too long

BIN
dist/images/1x/icon/auto_square_normal.png vendored

Binary file not shown.

After

Width:  |  Height:  |  Size: 508 B

BIN
dist/images/1x/icon/dark/auto_square_normal.png vendored

Binary file not shown.

After

Width:  |  Height:  |  Size: 500 B

BIN
dist/images/1x/icon/dark/trans_disable.png vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 535 B

BIN
dist/images/1x/icon/trans_disable.png vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 535 B

BIN
dist/images/2x/icon/auto_disable.png vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

BIN
dist/images/2x/icon/auto_square_normal.png vendored

Binary file not shown.

After

Width:  |  Height:  |  Size: 996 B

BIN
dist/images/2x/icon/dark/auto_square_normal.png vendored

Binary file not shown.

After

Width:  |  Height:  |  Size: 980 B

BIN
dist/images/2x/icon/dark/trans_disable.png vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1018 B

BIN
dist/images/2x/icon/trans_disable.png vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1018 B

4
dist/resource.css vendored

File diff suppressed because one or more lines are too long

2
dist/utils.js vendored

@ -1,4 +1,4 @@
/*! time: 2021-9-13 22:10:57 */
/*! time: 2021-9-15 14:02:06 */
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};

2
dist/utils.min.js vendored

File diff suppressed because one or more lines are too long

2
package.json

@ -1,6 +1,6 @@
{
"name": "fineui",
"version": "2.0.20210913221232",
"version": "2.0.20210915140419",
"description": "fineui",
"main": "dist/fineui.min.js",
"types": "dist/lib/index.d.ts",

2
src/case/colorchooser/colorchooser.js

@ -60,7 +60,7 @@ BI.ColorChooser = BI.inherit(BI.Widget, {
}]
}, o.popup),
value: o.value,
width: 292
width: 300
},
value: o.value
});

6
src/case/colorchooser/colorchooser.popup.hex.js

@ -7,7 +7,7 @@ BI.HexColorChooserPopup = BI.inherit(BI.Widget, {
props: {
baseCls: "bi-color-chooser-popup",
width: 292,
width: 300,
recommendColorsGetter: BI.emptyFn, // 推荐色获取接口
simple: false // 简单模式, popup中没有自动和透明
},
@ -21,11 +21,11 @@ BI.HexColorChooserPopup = BI.inherit(BI.Widget, {
items: [{
el: {
type: "bi.vertical",
hgap: 10,
hgap: 15,
items: [BI.extend({
type: o.simple ? "bi.simple_hex_color_picker_editor" : "bi.hex_color_picker_editor",
value: o.value,
height: o.simple ? 30 : 64,
height: o.simple ? 36 : 70,
listeners: [{
eventName: BI.ColorPickerEditor.EVENT_CHANGE,
action: function () {

2
src/case/colorchooser/colorpicker/button/button.colorpicker.js

@ -19,7 +19,7 @@ BI.ColorPickerButton = BI.inherit(BI.BasicButton, {
var self = this, o = this.options;
if (BI.isNotNull(o.value)) {
if (o.value === '') {
this.element.addClass("auto-color-normal-background");
this.element.addClass("auto-color-square-normal-background");
} else if (o.value === "transparent") {
this.element.addClass("trans-color-background");
} else {

18
src/case/colorchooser/colorpicker/editor.colorpicker.hex.js

@ -39,7 +39,7 @@ BI.HexColorPickerEditor = BI.inherit(BI.Widget, {
allowBlank: true,
value: 255,
width: c.RGB_WIDTH,
height: 20,
height: 24,
listeners: [{
eventName: BI.TextEditor.EVENT_CHANGE,
action: function () {
@ -122,20 +122,20 @@ BI.HexColorPickerEditor = BI.inherit(BI.Widget, {
}, {
el: {
type: "bi.vertical_adapt",
columnSize: [16, 10, 'fill', 12, c.RGB_WIDTH, 12, c.RGB_WIDTH, 12, c.RGB_WIDTH],
columnSize: [22, 10, 'fill', 12, c.RGB_WIDTH, 12, c.RGB_WIDTH, 12, c.RGB_WIDTH],
rgap: 5,
items: [{
el: {
type: "bi.layout",
cls: "color-picker-editor-display bi-card bi-border",
height: 16,
width: 16,
height: 22,
width: 22,
ref: function (_ref) {
self.colorShow = _ref;
}
},
width: 16
width: 18
}, {
type: "bi.label",
text: "#",
@ -150,7 +150,7 @@ BI.HexColorPickerEditor = BI.inherit(BI.Widget, {
allowBlank: true,
errorText: BI.i18nText("BI-Color_Picker_Error_Text_Hex"),
width: c.HEX_WIDTH,
height: 20,
height: 24,
listeners: [{
eventName: "EVENT_CHANGE",
action: function () {
@ -239,11 +239,11 @@ BI.HexColorPickerEditor = BI.inherit(BI.Widget, {
_showPreColor: function (color) {
if (color === "") {
this.colorShow.element.css("background-color", "").removeClass("trans-color-background").addClass("auto-color-normal-background");
this.colorShow.element.css("background-color", "").removeClass("trans-color-background").addClass("auto-color-square-normal-background");
} else if (color === "transparent") {
this.colorShow.element.css("background-color", "").removeClass("auto-color-normal-background").addClass("trans-color-background");
this.colorShow.element.css("background-color", "").removeClass("auto-color-square-normal-background").addClass("trans-color-background");
} else {
this.colorShow.element.css({"background-color": color}).removeClass("auto-color-normal-background").removeClass("trans-color-background");
this.colorShow.element.css({"background-color": color}).removeClass("auto-color-square-normal-background").removeClass("trans-color-background");
}
},

14
src/case/colorchooser/colorpicker/editor.colorpicker.hex.simple.js

@ -13,7 +13,7 @@ BI.SimpleHexColorPickerEditor = BI.inherit(BI.Widget, {
props: {
baseCls: "bi-color-picker-editor",
height: 30
height: 36
},
render: function () {
@ -37,7 +37,7 @@ BI.SimpleHexColorPickerEditor = BI.inherit(BI.Widget, {
allowBlank: true,
value: 255,
width: c.RGB_WIDTH,
height: 20,
height: 24,
listeners: [{
eventName: BI.TextEditor.EVENT_CHANGE,
action: function () {
@ -58,18 +58,18 @@ BI.SimpleHexColorPickerEditor = BI.inherit(BI.Widget, {
el: {
type: "bi.vertical_adapt",
rgap: 5,
columnSize: [16, 10, 'fill', 12, c.RGB_WIDTH, 12, c.RGB_WIDTH, 12, c.RGB_WIDTH],
columnSize: [22, 10, 'fill', 12, c.RGB_WIDTH, 12, c.RGB_WIDTH, 12, c.RGB_WIDTH],
items: [{
el: {
type: "bi.layout",
cls: "color-picker-editor-display bi-card bi-border",
height: 16,
width: 16,
height: 22,
width: 22,
ref: function (_ref) {
self.colorShow = _ref;
}
},
width: 16,
width: 18,
}, {
type: "bi.label",
text: "#",
@ -84,7 +84,7 @@ BI.SimpleHexColorPickerEditor = BI.inherit(BI.Widget, {
allowBlank: true,
errorText: BI.i18nText("BI-Color_Picker_Error_Text_Hex"),
width: c.HEX_WIDTH,
height: 20,
height: 24,
listeners: [{
eventName: "EVENT_CHANGE",
action: function () {

8
src/less/base/colorchooser/colorpicker/editor.colorpicker.less

@ -5,12 +5,4 @@
& .color-picker-editor-display {
.border-radius(2px);
}
&.disabled {
& .auto-color-normal-background {
.auto-color-normal-disabled-background();
}
& .trans-color-background {
.trans-color-disabled-background();
}
}
}

2
src/less/lib/background.less

@ -4,9 +4,9 @@
//右下角没有小三角
@background-auto-color-normal: "icon/auto_normal.png";
@background-auto-color-normal-disabled: "icon/auto_disable.png";
@background-trans-color: "background/trans_normal.png";
@background-trans-color-disabled: "background/trans_disable.png";
@background-auto-color-square-normal: "icon/auto_square_normal.png";
@background-farbtastic-wheel:"background/wheel.png";
@background-farbtastic-overlay:"background/mask.png";

4
src/less/lib/icon.less

@ -50,12 +50,12 @@
//颜色自动、透明
@icon-auto-normal: "icon/auto_normal.png";
@icon-auto-square-normal: "icon/auto_square_normal.png";
@icon-auto-select: "icon/auto_select.png";
@icon-auto-disable: "icon/auto_disable.png";
@icon-trans-normal: "icon/trans_normal.png";
@icon-trans-select: "icon/trans_select.png";
@icon-trans-disable: "icon/trans_disable.png";
@icon-auto-square-normal-dark: "icon/dark/auto_square_normal.png";
@icon-trans-normal-dark: "icon/dark/trans_normal.png";
@icon-trans-select-dark: "icon/dark/trans_select.png";
@icon-trans-disable-dark: "icon/dark/trans_disable.png";

14
src/less/resource/background.less

@ -318,7 +318,11 @@
}
.auto-color-normal-disabled-background {
.image2xPath(@background-auto-color-normal-disabled);
.image2xPath(@background-auto-color-disabled);
}
.auto-color-square-normal-background {
.image2xPath(@background-auto-color-square-normal);
}
.trans-color-background {
@ -343,7 +347,13 @@
.auto-color-normal-disabled-background {
&.hack{
.imagePath(@background-auto-color-normal-disabled);
.imagePath(@background-auto-color-disabled);
}
}
.auto-color-square-normal-background {
&.hack{
.imagePath(@background-auto-color-square-normal);
}
}

7
src/less/resource/icon.less

@ -26,8 +26,10 @@
.icon_hover(slider-icon, @icon-slider-normal, @icon-slider-active);
//颜色自动、透明
.icon_select(auto-color-icon, @icon-auto-normal, @icon-auto-select, @icon-auto-disable);
.icon_select(trans-color-icon, @icon-trans-normal, @icon-trans-select, @icon-trans-disable);
.icon_select(auto-color-icon, @icon-auto-normal, @icon-auto-select);
.icon_select(trans-color-icon, @icon-trans-normal, @icon-trans-select);
// 方形的自动
.icon(auto-square-color-icon, @icon-auto-square-normal);
.bi-theme-dark {
.icon(tree-collapse-icon-type1, @icon-tree-collapse-type1-theme-dark);
@ -43,4 +45,5 @@
.icon(tree-vertical-line-type4, @icon-tree-vertical-line-4-theme-dark);
.icon_select(trans-color-icon, @icon-trans-normal-dark, @icon-trans-select-dark, @icon-trans-disable-dark);
.icon(auto-square-color-icon, @icon-auto-square-normal-dark);
}

2
src/widget/yearquarter/trigger.yearquarter.js

@ -69,7 +69,7 @@ BI.DynamicYearQuarterTrigger = BI.inherit(BI.Trigger, {
if(BI.isEmptyString(month)) {
month = parseInt(v, 10) === BI.parseDateTime(o.min, "%Y-%X-%d").getFullYear() ? BI.parseDateTime(o.min, "%Y-%X-%d").getMonth() + 1 : 1;
} else {
month = (v - 1) * 3 + 1;
month = (parseInt(month, 10) - 1) * 3 + 1;
}
return v === "" || (BI.isPositiveInteger(v) && !BI.checkDateVoid(v, month, 1, o.min, o.max)[0]);
}

Loading…
Cancel
Save