@yoooloo42/joker 1.0.183 → 1.0.184

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.esm.js CHANGED
@@ -23000,22 +23000,28 @@ function box(item) {
23000
23000
 
23001
23001
  // inputType: "text"
23002
23002
  function text(item) {
23003
- return item.style || {
23003
+ if (item.cover) {
23004
+ return item.style;
23005
+ }
23006
+ return unclassified.deepClone.deepMerge({
23004
23007
  'white-space': 'pre-line',
23005
23008
  // 保留换行符
23006
23009
  'border-left': '#ababab solid 1px',
23007
23010
  'border-top': '#ababab solid 1px',
23008
23011
  'padding-left': '10px'
23009
- };
23012
+ }, item.style);
23010
23013
  }
23011
23014
 
23012
23015
  // inputType: "text0"
23013
23016
  function text0(item) {
23014
- return item.style || {
23017
+ if (item.cover) {
23018
+ return item.style;
23019
+ }
23020
+ return unclassified.deepClone.deepMerge({
23015
23021
  'white-space': 'pre-line',
23016
23022
  // 保留换行符
23017
23023
  color: 'blue'
23018
- };
23024
+ }, item.style);
23019
23025
  }
23020
23026
 
23021
23027
  // inputType: "input", "select", "date-picker"