From 4a2e6914ce943d61ade96371741b62d9c7833abc Mon Sep 17 00:00:00 2001 From: dailer Date: Thu, 20 Jun 2019 09:58:25 +0800 Subject: [PATCH] =?UTF-8?q?KERNEL-748=20feat:=20fineui=E7=9A=84html?= =?UTF-8?q?=E3=80=81htmlLabel=E6=8E=A7=E4=BB=B6=E4=BB=A3=E7=A0=81=E4=BC=98?= =?UTF-8?q?=E5=8C=96.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dist/2.0/fineui.ie.js | 29 ++++++++++++++----------- dist/2.0/fineui.js | 29 ++++++++++++++----------- dist/base.js | 29 ++++++++++++++----------- dist/bundle.ie.js | 29 ++++++++++++++----------- dist/bundle.js | 29 ++++++++++++++----------- dist/fineui.ie.js | 29 ++++++++++++++----------- dist/fineui.js | 29 ++++++++++++++----------- dist/fineui_without_jquery_polyfill.js | 29 ++++++++++++++----------- src/base/single/label/abstract.label.js | 29 ++++++++++++++----------- 9 files changed, 144 insertions(+), 117 deletions(-) diff --git a/dist/2.0/fineui.ie.js b/dist/2.0/fineui.ie.js index 1a7187720..2bfd64b60 100644 --- a/dist/2.0/fineui.ie.js +++ b/dist/2.0/fineui.ie.js @@ -48682,19 +48682,22 @@ BI.shortcut("bi.radio", BI.Radio);/** BI.AbstractLabel = BI.inherit(BI.Single, { - props: { - textAlign: "center", - whiteSpace: "nowrap", // normal or nowrap - textWidth: null, - textHeight: null, - hgap: 0, - vgap: 0, - lgap: 0, - rgap: 0, - tgap: 0, - bgap: 0, - text: "", - highLight: false + _defaultConfig: function (props) { + var conf = BI.AbstractLabel.superclass._defaultConfig.apply(this, arguments); + return BI.extend(conf, { + textAlign: "center", + whiteSpace: "nowrap", // normal or nowrap + textWidth: null, + textHeight: null, + hgap: 0, + vgap: 0, + lgap: 0, + rgap: 0, + tgap: 0, + bgap: 0, + text: "", + highLight: false + }); }, _createJson: function () { diff --git a/dist/2.0/fineui.js b/dist/2.0/fineui.js index d6c29f21e..e0129111e 100644 --- a/dist/2.0/fineui.js +++ b/dist/2.0/fineui.js @@ -49086,19 +49086,22 @@ BI.shortcut("bi.radio", BI.Radio);/** BI.AbstractLabel = BI.inherit(BI.Single, { - props: { - textAlign: "center", - whiteSpace: "nowrap", // normal or nowrap - textWidth: null, - textHeight: null, - hgap: 0, - vgap: 0, - lgap: 0, - rgap: 0, - tgap: 0, - bgap: 0, - text: "", - highLight: false + _defaultConfig: function (props) { + var conf = BI.AbstractLabel.superclass._defaultConfig.apply(this, arguments); + return BI.extend(conf, { + textAlign: "center", + whiteSpace: "nowrap", // normal or nowrap + textWidth: null, + textHeight: null, + hgap: 0, + vgap: 0, + lgap: 0, + rgap: 0, + tgap: 0, + bgap: 0, + text: "", + highLight: false + }); }, _createJson: function () { diff --git a/dist/base.js b/dist/base.js index ee95c3128..381d47ad9 100644 --- a/dist/base.js +++ b/dist/base.js @@ -10798,19 +10798,22 @@ BI.shortcut("bi.radio", BI.Radio);/** BI.AbstractLabel = BI.inherit(BI.Single, { - props: { - textAlign: "center", - whiteSpace: "nowrap", // normal or nowrap - textWidth: null, - textHeight: null, - hgap: 0, - vgap: 0, - lgap: 0, - rgap: 0, - tgap: 0, - bgap: 0, - text: "", - highLight: false + _defaultConfig: function (props) { + var conf = BI.AbstractLabel.superclass._defaultConfig.apply(this, arguments); + return BI.extend(conf, { + textAlign: "center", + whiteSpace: "nowrap", // normal or nowrap + textWidth: null, + textHeight: null, + hgap: 0, + vgap: 0, + lgap: 0, + rgap: 0, + tgap: 0, + bgap: 0, + text: "", + highLight: false + }); }, _createJson: function () { diff --git a/dist/bundle.ie.js b/dist/bundle.ie.js index 1a7187720..2bfd64b60 100644 --- a/dist/bundle.ie.js +++ b/dist/bundle.ie.js @@ -48682,19 +48682,22 @@ BI.shortcut("bi.radio", BI.Radio);/** BI.AbstractLabel = BI.inherit(BI.Single, { - props: { - textAlign: "center", - whiteSpace: "nowrap", // normal or nowrap - textWidth: null, - textHeight: null, - hgap: 0, - vgap: 0, - lgap: 0, - rgap: 0, - tgap: 0, - bgap: 0, - text: "", - highLight: false + _defaultConfig: function (props) { + var conf = BI.AbstractLabel.superclass._defaultConfig.apply(this, arguments); + return BI.extend(conf, { + textAlign: "center", + whiteSpace: "nowrap", // normal or nowrap + textWidth: null, + textHeight: null, + hgap: 0, + vgap: 0, + lgap: 0, + rgap: 0, + tgap: 0, + bgap: 0, + text: "", + highLight: false + }); }, _createJson: function () { diff --git a/dist/bundle.js b/dist/bundle.js index d6c29f21e..e0129111e 100644 --- a/dist/bundle.js +++ b/dist/bundle.js @@ -49086,19 +49086,22 @@ BI.shortcut("bi.radio", BI.Radio);/** BI.AbstractLabel = BI.inherit(BI.Single, { - props: { - textAlign: "center", - whiteSpace: "nowrap", // normal or nowrap - textWidth: null, - textHeight: null, - hgap: 0, - vgap: 0, - lgap: 0, - rgap: 0, - tgap: 0, - bgap: 0, - text: "", - highLight: false + _defaultConfig: function (props) { + var conf = BI.AbstractLabel.superclass._defaultConfig.apply(this, arguments); + return BI.extend(conf, { + textAlign: "center", + whiteSpace: "nowrap", // normal or nowrap + textWidth: null, + textHeight: null, + hgap: 0, + vgap: 0, + lgap: 0, + rgap: 0, + tgap: 0, + bgap: 0, + text: "", + highLight: false + }); }, _createJson: function () { diff --git a/dist/fineui.ie.js b/dist/fineui.ie.js index 83a7f6e0a..9bc872b3e 100644 --- a/dist/fineui.ie.js +++ b/dist/fineui.ie.js @@ -48927,19 +48927,22 @@ BI.shortcut("bi.radio", BI.Radio);/** BI.AbstractLabel = BI.inherit(BI.Single, { - props: { - textAlign: "center", - whiteSpace: "nowrap", // normal or nowrap - textWidth: null, - textHeight: null, - hgap: 0, - vgap: 0, - lgap: 0, - rgap: 0, - tgap: 0, - bgap: 0, - text: "", - highLight: false + _defaultConfig: function (props) { + var conf = BI.AbstractLabel.superclass._defaultConfig.apply(this, arguments); + return BI.extend(conf, { + textAlign: "center", + whiteSpace: "nowrap", // normal or nowrap + textWidth: null, + textHeight: null, + hgap: 0, + vgap: 0, + lgap: 0, + rgap: 0, + tgap: 0, + bgap: 0, + text: "", + highLight: false + }); }, _createJson: function () { diff --git a/dist/fineui.js b/dist/fineui.js index 91851606a..db14540ed 100644 --- a/dist/fineui.js +++ b/dist/fineui.js @@ -49331,19 +49331,22 @@ BI.shortcut("bi.radio", BI.Radio);/** BI.AbstractLabel = BI.inherit(BI.Single, { - props: { - textAlign: "center", - whiteSpace: "nowrap", // normal or nowrap - textWidth: null, - textHeight: null, - hgap: 0, - vgap: 0, - lgap: 0, - rgap: 0, - tgap: 0, - bgap: 0, - text: "", - highLight: false + _defaultConfig: function (props) { + var conf = BI.AbstractLabel.superclass._defaultConfig.apply(this, arguments); + return BI.extend(conf, { + textAlign: "center", + whiteSpace: "nowrap", // normal or nowrap + textWidth: null, + textHeight: null, + hgap: 0, + vgap: 0, + lgap: 0, + rgap: 0, + tgap: 0, + bgap: 0, + text: "", + highLight: false + }); }, _createJson: function () { diff --git a/dist/fineui_without_jquery_polyfill.js b/dist/fineui_without_jquery_polyfill.js index c85491dc9..4eaf6a58a 100644 --- a/dist/fineui_without_jquery_polyfill.js +++ b/dist/fineui_without_jquery_polyfill.js @@ -35832,19 +35832,22 @@ BI.shortcut("bi.radio", BI.Radio);/** BI.AbstractLabel = BI.inherit(BI.Single, { - props: { - textAlign: "center", - whiteSpace: "nowrap", // normal or nowrap - textWidth: null, - textHeight: null, - hgap: 0, - vgap: 0, - lgap: 0, - rgap: 0, - tgap: 0, - bgap: 0, - text: "", - highLight: false + _defaultConfig: function (props) { + var conf = BI.AbstractLabel.superclass._defaultConfig.apply(this, arguments); + return BI.extend(conf, { + textAlign: "center", + whiteSpace: "nowrap", // normal or nowrap + textWidth: null, + textHeight: null, + hgap: 0, + vgap: 0, + lgap: 0, + rgap: 0, + tgap: 0, + bgap: 0, + text: "", + highLight: false + }); }, _createJson: function () { diff --git a/src/base/single/label/abstract.label.js b/src/base/single/label/abstract.label.js index b51970bc2..3d6759e4b 100644 --- a/src/base/single/label/abstract.label.js +++ b/src/base/single/label/abstract.label.js @@ -4,19 +4,22 @@ BI.AbstractLabel = BI.inherit(BI.Single, { - props: { - textAlign: "center", - whiteSpace: "nowrap", // normal or nowrap - textWidth: null, - textHeight: null, - hgap: 0, - vgap: 0, - lgap: 0, - rgap: 0, - tgap: 0, - bgap: 0, - text: "", - highLight: false + _defaultConfig: function (props) { + var conf = BI.AbstractLabel.superclass._defaultConfig.apply(this, arguments); + return BI.extend(conf, { + textAlign: "center", + whiteSpace: "nowrap", // normal or nowrap + textWidth: null, + textHeight: null, + hgap: 0, + vgap: 0, + lgap: 0, + rgap: 0, + tgap: 0, + bgap: 0, + text: "", + highLight: false + }); }, _createJson: function () {