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