@yoooloo42/joker 1.0.181 → 1.0.183
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +3 -4
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +3 -4
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -23000,19 +23000,18 @@ function box(item) {
|
|
|
23000
23000
|
|
|
23001
23001
|
// inputType: "text"
|
|
23002
23002
|
function text(item) {
|
|
23003
|
-
return {
|
|
23003
|
+
return item.style || {
|
|
23004
23004
|
'white-space': 'pre-line',
|
|
23005
23005
|
// 保留换行符
|
|
23006
23006
|
'border-left': '#ababab solid 1px',
|
|
23007
23007
|
'border-top': '#ababab solid 1px',
|
|
23008
|
-
'padding-left': '10px'
|
|
23009
|
-
height: '40px'
|
|
23008
|
+
'padding-left': '10px'
|
|
23010
23009
|
};
|
|
23011
23010
|
}
|
|
23012
23011
|
|
|
23013
23012
|
// inputType: "text0"
|
|
23014
23013
|
function text0(item) {
|
|
23015
|
-
return {
|
|
23014
|
+
return item.style || {
|
|
23016
23015
|
'white-space': 'pre-line',
|
|
23017
23016
|
// 保留换行符
|
|
23018
23017
|
color: 'blue'
|