gm-printer 10.13.8-alpha.1 → 10.13.8-alpha.2

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/.eslintcache CHANGED
@@ -1 +1 @@
1
- [{"/Users/min/Documents/GMFE/gm-util/gm-printer/src/util.js":"1","/Users/min/Documents/GMFE/gm-util/gm-printer/src/printer/get_css.js":"2","/Users/min/Documents/GMFE/gm-util/gm-printer/src/printer/barcode.js":"3","/Users/min/Documents/GMFE/gm-util/gm-printer/src/index.js":"4","/Users/min/Documents/GMFE/gm-util/gm-printer/src/editor_stockout/context_menu.js":"5","/Users/min/Documents/GMFE/gm-util/gm-printer/src/editor_stockin/context_menu.js":"6","/Users/min/Documents/GMFE/gm-util/gm-printer/src/editor_statement/context_menu.js":"7","/Users/min/Documents/GMFE/gm-util/gm-printer/src/editor_settle/context_menu.js":"8","/Users/min/Documents/GMFE/gm-util/gm-printer/src/editor_salemenus/context_menu.js":"9","/Users/min/Documents/GMFE/gm-util/gm-printer/src/editor_purchase/editor_special_table.js":"10","/Users/min/Documents/GMFE/gm-util/gm-printer/src/editor_purchase/context_menu.js":"11","/Users/min/Documents/GMFE/gm-util/gm-printer/src/editor_account/context_menu.js":"12","/Users/min/Documents/GMFE/gm-util/gm-printer/src/editor/context_menu.js":"13","/Users/min/Documents/GMFE/gm-util/gm-printer/src/config.js":"14","/Users/min/Documents/GMFE/gm-util/gm-printer/src/common/hoc_with_store.js":"15","/Users/min/Documents/GMFE/gm-util/gm-printer/src/common/hoc_with_shadow_dom.js":"16","/Users/min/Documents/GMFE/gm-util/gm-printer/src/common/get_editor_css.js":"17","/Users/min/Documents/GMFE/gm-util/gm-printer/src/common/editor_title.js":"18","/Users/min/Documents/GMFE/gm-util/gm-printer/src/common/editor_store.js":"19","/Users/min/Documents/GMFE/gm-util/gm-printer/src/common/editor_select.js":"20","/Users/min/Documents/GMFE/gm-util/gm-printer/src/common/editor_edit_field.js":"21","/Users/min/Documents/GMFE/gm-util/gm-printer/src/common/component.js":"22"},{"size":7133,"mtime":1638862566087,"results":"23","hashOfConfig":"24"},{"size":291,"mtime":1638935573926,"results":"25","hashOfConfig":"24"},{"size":523,"mtime":1638935549030,"results":"26","hashOfConfig":"24"},{"size":1093,"mtime":1638861826721,"results":"27","hashOfConfig":"24"},{"size":2293,"mtime":1638948548042,"results":"28","hashOfConfig":"24"},{"size":2292,"mtime":1638948522492,"results":"29","hashOfConfig":"24"},{"size":1078,"mtime":1638948543271,"results":"30","hashOfConfig":"24"},{"size":2040,"mtime":1638948515902,"results":"31","hashOfConfig":"24"},{"size":2991,"mtime":1638948535719,"results":"32","hashOfConfig":"24"},{"size":4379,"mtime":1638935458586,"results":"33","hashOfConfig":"24"},{"size":2521,"mtime":1638948507982,"results":"34","hashOfConfig":"24"},{"size":2943,"mtime":1638948502114,"results":"35","hashOfConfig":"24"},{"size":3497,"mtime":1638948477988,"results":"36","hashOfConfig":"24"},{"size":2833,"mtime":1638861837310,"results":"37","hashOfConfig":"24"},{"size":4212,"mtime":1638935746667,"results":"38","hashOfConfig":"24"},{"size":861,"mtime":1638931446915,"results":"39","hashOfConfig":"24"},{"size":178,"mtime":1638931439249,"results":"40","hashOfConfig":"24"},{"size":3272,"mtime":1638931374761,"results":"41","hashOfConfig":"24"},{"size":22205,"mtime":1638862315362,"results":"42","hashOfConfig":"24"},{"size":4903,"mtime":1638931210449,"results":"43","hashOfConfig":"24"},{"size":13268,"mtime":1638930638946,"results":"44","hashOfConfig":"24"},{"size":14787,"mtime":1638948621474,"results":"45","hashOfConfig":"24"},{"filePath":"46","messages":"47","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"jpc0be",{"filePath":"48","messages":"49","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"50","messages":"51","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"52","messages":"53","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"54","messages":"55","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"56","messages":"57","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"58","messages":"59","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"60","messages":"61","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"62","messages":"63","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"64","messages":"65","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"66","messages":"67","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"68","messages":"69","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"70","messages":"71","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"72","messages":"73","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"74","messages":"75","errorCount":2,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"76","messages":"77","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"78","messages":"79","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"80","messages":"81","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"82","messages":"83","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"84","messages":"85","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"86","messages":"87","errorCount":1,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"88","messages":"89","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"/Users/min/Documents/GMFE/gm-util/gm-printer/src/util.js",[],"/Users/min/Documents/GMFE/gm-util/gm-printer/src/printer/get_css.js",[],"/Users/min/Documents/GMFE/gm-util/gm-printer/src/printer/barcode.js",[],"/Users/min/Documents/GMFE/gm-util/gm-printer/src/index.js",[],"/Users/min/Documents/GMFE/gm-util/gm-printer/src/editor_stockout/context_menu.js",[],"/Users/min/Documents/GMFE/gm-util/gm-printer/src/editor_stockin/context_menu.js",[],"/Users/min/Documents/GMFE/gm-util/gm-printer/src/editor_statement/context_menu.js",[],"/Users/min/Documents/GMFE/gm-util/gm-printer/src/editor_settle/context_menu.js",[],"/Users/min/Documents/GMFE/gm-util/gm-printer/src/editor_salemenus/context_menu.js",[],"/Users/min/Documents/GMFE/gm-util/gm-printer/src/editor_purchase/editor_special_table.js",[],"/Users/min/Documents/GMFE/gm-util/gm-printer/src/editor_purchase/context_menu.js",[],"/Users/min/Documents/GMFE/gm-util/gm-printer/src/editor_account/context_menu.js",[],"/Users/min/Documents/GMFE/gm-util/gm-printer/src/editor/context_menu.js",[],"/Users/min/Documents/GMFE/gm-util/gm-printer/src/config.js",[],"/Users/min/Documents/GMFE/gm-util/gm-printer/src/common/hoc_with_store.js",["90","91"],"/Users/min/Documents/GMFE/gm-util/gm-printer/src/common/hoc_with_shadow_dom.js",[],"/Users/min/Documents/GMFE/gm-util/gm-printer/src/common/get_editor_css.js",[],"/Users/min/Documents/GMFE/gm-util/gm-printer/src/common/editor_title.js",[],"/Users/min/Documents/GMFE/gm-util/gm-printer/src/common/editor_store.js",[],"/Users/min/Documents/GMFE/gm-util/gm-printer/src/common/editor_select.js",[],"/Users/min/Documents/GMFE/gm-util/gm-printer/src/common/editor_edit_field.js",["92","93","94"],"/Users/min/Documents/GMFE/gm-util/gm-printer/src/common/component.js",[],{"ruleId":"95","severity":2,"message":"96","line":10,"column":29,"nodeType":"97","endLine":10,"endColumn":35},{"ruleId":"95","severity":2,"message":"98","line":145,"column":63,"nodeType":"97","endLine":145,"endColumn":71},{"ruleId":"99","severity":1,"message":"100","line":265,"column":13,"nodeType":"101","endLine":265,"endColumn":49},{"ruleId":"99","severity":1,"message":"100","line":283,"column":13,"nodeType":"101","endLine":283,"endColumn":56},{"ruleId":"102","severity":2,"message":"103","line":436,"column":22,"nodeType":"104","messageId":"105","endLine":436,"endColumn":31},"react/prop-types","'config' is missing in props validation","Identifier","'mockData' is missing in props validation","react/jsx-handler-names","Handler function for onChange prop key must begin with 'handle'","JSXAttribute","gmfe/i18n-check","t函数的key只能为字符串常量(Literal),请使用单引号或双引号包裹","MemberExpression","isVariable"]
1
+ [{"/Users/min/Documents/GMFE/gm-util/gm-printer/src/util.js":"1","/Users/min/Documents/GMFE/gm-util/gm-printer/src/printer/get_css.js":"2","/Users/min/Documents/GMFE/gm-util/gm-printer/src/printer/barcode.js":"3","/Users/min/Documents/GMFE/gm-util/gm-printer/src/index.js":"4","/Users/min/Documents/GMFE/gm-util/gm-printer/src/editor_stockout/context_menu.js":"5","/Users/min/Documents/GMFE/gm-util/gm-printer/src/editor_stockin/context_menu.js":"6","/Users/min/Documents/GMFE/gm-util/gm-printer/src/editor_statement/context_menu.js":"7","/Users/min/Documents/GMFE/gm-util/gm-printer/src/editor_settle/context_menu.js":"8","/Users/min/Documents/GMFE/gm-util/gm-printer/src/editor_salemenus/context_menu.js":"9","/Users/min/Documents/GMFE/gm-util/gm-printer/src/editor_purchase/editor_special_table.js":"10","/Users/min/Documents/GMFE/gm-util/gm-printer/src/editor_purchase/context_menu.js":"11","/Users/min/Documents/GMFE/gm-util/gm-printer/src/editor_account/context_menu.js":"12","/Users/min/Documents/GMFE/gm-util/gm-printer/src/editor/context_menu.js":"13","/Users/min/Documents/GMFE/gm-util/gm-printer/src/config.js":"14","/Users/min/Documents/GMFE/gm-util/gm-printer/src/common/hoc_with_store.js":"15","/Users/min/Documents/GMFE/gm-util/gm-printer/src/common/hoc_with_shadow_dom.js":"16","/Users/min/Documents/GMFE/gm-util/gm-printer/src/common/get_editor_css.js":"17","/Users/min/Documents/GMFE/gm-util/gm-printer/src/common/editor_title.js":"18","/Users/min/Documents/GMFE/gm-util/gm-printer/src/common/editor_store.js":"19","/Users/min/Documents/GMFE/gm-util/gm-printer/src/common/editor_select.js":"20","/Users/min/Documents/GMFE/gm-util/gm-printer/src/common/editor_edit_field.js":"21","/Users/min/Documents/GMFE/gm-util/gm-printer/src/common/component.js":"22","/Users/min/Documents/GMFE/gm-util/gm-printer/src/editor_stockout/editor.js":"23","/Users/min/Documents/GMFE/gm-util/gm-printer/src/editor_stockin/editor.js":"24","/Users/min/Documents/GMFE/gm-util/gm-printer/src/editor_statement/editor.js":"25","/Users/min/Documents/GMFE/gm-util/gm-printer/src/editor_settle/editor.js":"26","/Users/min/Documents/GMFE/gm-util/gm-printer/src/editor_salemenus/editor.js":"27","/Users/min/Documents/GMFE/gm-util/gm-printer/src/editor_purchase/editor.js":"28","/Users/min/Documents/GMFE/gm-util/gm-printer/src/editor_account_statement/editor.js":"29","/Users/min/Documents/GMFE/gm-util/gm-printer/src/editor_account/editor.js":"30","/Users/min/Documents/GMFE/gm-util/gm-printer/src/editor/editor.js":"31","/Users/min/Documents/GMFE/gm-util/gm-printer/src/components/tooltip/index.js":"32","/Users/min/Documents/GMFE/gm-util/gm-printer/src/common/editor_special_field.js":"33"},{"size":7133,"mtime":1638862566087,"results":"34","hashOfConfig":"35"},{"size":291,"mtime":1638935573926,"results":"36","hashOfConfig":"35"},{"size":523,"mtime":1638935549030,"results":"37","hashOfConfig":"35"},{"size":1093,"mtime":1638861826721,"results":"38","hashOfConfig":"35"},{"size":2293,"mtime":1638948548042,"results":"39","hashOfConfig":"35"},{"size":2292,"mtime":1638948522492,"results":"40","hashOfConfig":"35"},{"size":1078,"mtime":1638948543271,"results":"41","hashOfConfig":"35"},{"size":2040,"mtime":1638948515902,"results":"42","hashOfConfig":"35"},{"size":2991,"mtime":1638948535719,"results":"43","hashOfConfig":"35"},{"size":4379,"mtime":1638935458586,"results":"44","hashOfConfig":"35"},{"size":2521,"mtime":1638948507982,"results":"45","hashOfConfig":"35"},{"size":2943,"mtime":1638948502114,"results":"46","hashOfConfig":"35"},{"size":3497,"mtime":1638948477988,"results":"47","hashOfConfig":"35"},{"size":2833,"mtime":1638861837310,"results":"48","hashOfConfig":"35"},{"size":4212,"mtime":1638935746667,"results":"49","hashOfConfig":"35"},{"size":861,"mtime":1638931446915,"results":"50","hashOfConfig":"35"},{"size":178,"mtime":1638931439249,"results":"51","hashOfConfig":"35"},{"size":3272,"mtime":1638931374761,"results":"52","hashOfConfig":"35"},{"size":22205,"mtime":1638862315362,"results":"53","hashOfConfig":"35"},{"size":4903,"mtime":1638931210449,"results":"54","hashOfConfig":"35"},{"size":13268,"mtime":1638930638946,"results":"55","hashOfConfig":"35"},{"size":14787,"mtime":1638948621474,"results":"56","hashOfConfig":"35"},{"size":2165,"mtime":1638949854481,"results":"57","hashOfConfig":"35"},{"size":2165,"mtime":1638949840121,"results":"58","hashOfConfig":"35"},{"size":2223,"mtime":1638949823846,"results":"59","hashOfConfig":"35"},{"size":2226,"mtime":1638949842800,"results":"60","hashOfConfig":"35"},{"size":3367,"mtime":1638949855771,"results":"61","hashOfConfig":"35"},{"size":2305,"mtime":1638949843817,"results":"62","hashOfConfig":"35"},{"size":3294,"mtime":1638949855131,"results":"63","hashOfConfig":"35"},{"size":2850,"mtime":1638949842017,"results":"64","hashOfConfig":"35"},{"size":4157,"mtime":1638949853726,"results":"65","hashOfConfig":"35"},{"size":605,"mtime":1638949882777,"results":"66","hashOfConfig":"35"},{"size":1175,"mtime":1638949720500,"results":"67","hashOfConfig":"35"},{"filePath":"68","messages":"69","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"jpc0be",{"filePath":"70","messages":"71","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"72","messages":"73","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"74","messages":"75","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"76","messages":"77","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"78","messages":"79","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"80","messages":"81","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"82","messages":"83","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"84","messages":"85","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"86","messages":"87","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"88","messages":"89","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"90","messages":"91","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"92","messages":"93","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"94","messages":"95","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"96","messages":"97","errorCount":2,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"98","messages":"99","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"100","messages":"101","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"102","messages":"103","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"104","messages":"105","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"106","messages":"107","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"108","messages":"109","errorCount":1,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"110","messages":"111","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"112","messages":"113","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"114","messages":"115","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"116","messages":"117","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"118","messages":"119","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"120","messages":"121","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"122","messages":"123","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"124","messages":"125","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"126","messages":"127","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"128","messages":"129","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"130","messages":"131","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"132","messages":"133","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"/Users/min/Documents/GMFE/gm-util/gm-printer/src/util.js",[],"/Users/min/Documents/GMFE/gm-util/gm-printer/src/printer/get_css.js",[],"/Users/min/Documents/GMFE/gm-util/gm-printer/src/printer/barcode.js",[],"/Users/min/Documents/GMFE/gm-util/gm-printer/src/index.js",[],"/Users/min/Documents/GMFE/gm-util/gm-printer/src/editor_stockout/context_menu.js",[],"/Users/min/Documents/GMFE/gm-util/gm-printer/src/editor_stockin/context_menu.js",[],"/Users/min/Documents/GMFE/gm-util/gm-printer/src/editor_statement/context_menu.js",[],"/Users/min/Documents/GMFE/gm-util/gm-printer/src/editor_settle/context_menu.js",[],"/Users/min/Documents/GMFE/gm-util/gm-printer/src/editor_salemenus/context_menu.js",[],"/Users/min/Documents/GMFE/gm-util/gm-printer/src/editor_purchase/editor_special_table.js",[],"/Users/min/Documents/GMFE/gm-util/gm-printer/src/editor_purchase/context_menu.js",[],"/Users/min/Documents/GMFE/gm-util/gm-printer/src/editor_account/context_menu.js",[],"/Users/min/Documents/GMFE/gm-util/gm-printer/src/editor/context_menu.js",[],"/Users/min/Documents/GMFE/gm-util/gm-printer/src/config.js",[],"/Users/min/Documents/GMFE/gm-util/gm-printer/src/common/hoc_with_store.js",["134","135"],"/Users/min/Documents/GMFE/gm-util/gm-printer/src/common/hoc_with_shadow_dom.js",[],"/Users/min/Documents/GMFE/gm-util/gm-printer/src/common/get_editor_css.js",[],"/Users/min/Documents/GMFE/gm-util/gm-printer/src/common/editor_title.js",[],"/Users/min/Documents/GMFE/gm-util/gm-printer/src/common/editor_store.js",[],"/Users/min/Documents/GMFE/gm-util/gm-printer/src/common/editor_select.js",[],"/Users/min/Documents/GMFE/gm-util/gm-printer/src/common/editor_edit_field.js",["136","137","138"],"/Users/min/Documents/GMFE/gm-util/gm-printer/src/common/component.js",[],"/Users/min/Documents/GMFE/gm-util/gm-printer/src/editor_stockout/editor.js",[],"/Users/min/Documents/GMFE/gm-util/gm-printer/src/editor_stockin/editor.js",[],"/Users/min/Documents/GMFE/gm-util/gm-printer/src/editor_statement/editor.js",[],"/Users/min/Documents/GMFE/gm-util/gm-printer/src/editor_settle/editor.js",[],"/Users/min/Documents/GMFE/gm-util/gm-printer/src/editor_salemenus/editor.js",[],"/Users/min/Documents/GMFE/gm-util/gm-printer/src/editor_purchase/editor.js",[],"/Users/min/Documents/GMFE/gm-util/gm-printer/src/editor_account_statement/editor.js",[],"/Users/min/Documents/GMFE/gm-util/gm-printer/src/editor_account/editor.js",[],"/Users/min/Documents/GMFE/gm-util/gm-printer/src/editor/editor.js",[],"/Users/min/Documents/GMFE/gm-util/gm-printer/src/components/tooltip/index.js",[],"/Users/min/Documents/GMFE/gm-util/gm-printer/src/common/editor_special_field.js",[],{"ruleId":"139","severity":2,"message":"140","line":10,"column":29,"nodeType":"141","endLine":10,"endColumn":35},{"ruleId":"139","severity":2,"message":"142","line":145,"column":63,"nodeType":"141","endLine":145,"endColumn":71},{"ruleId":"143","severity":1,"message":"144","line":265,"column":13,"nodeType":"145","endLine":265,"endColumn":49},{"ruleId":"143","severity":1,"message":"144","line":283,"column":13,"nodeType":"145","endLine":283,"endColumn":56},{"ruleId":"146","severity":2,"message":"147","line":436,"column":22,"nodeType":"148","messageId":"149","endLine":436,"endColumn":31},"react/prop-types","'config' is missing in props validation","Identifier","'mockData' is missing in props validation","react/jsx-handler-names","Handler function for onChange prop key must begin with 'handle'","JSXAttribute","gmfe/i18n-check","t函数的key只能为字符串常量(Literal),请使用单引号或双引号包裹","MemberExpression","isVariable"]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gm-printer",
3
- "version": "10.13.8-alpha.1",
3
+ "version": "10.13.8-alpha.2",
4
4
  "description": "diy printer",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -33,7 +33,7 @@ class SpecialField extends React.Component {
33
33
  }
34
34
 
35
35
  SpecialField.propTypes = {
36
- fields: PropTypes.object.isRequired,
36
+ fields: PropTypes.object,
37
37
  handleAddField: PropTypes.func,
38
38
  addFields: PropTypes.object.isRequired,
39
39
  editStore: PropTypes.object,
@@ -19,7 +19,7 @@ const ToolTip = ({ text }) => {
19
19
  </span>
20
20
  )
21
21
  }
22
- ToolTip.PropTypes = {
22
+ ToolTip.propTypes = {
23
23
  text: PropTypes.string.isRequired
24
24
  }
25
25
 
@@ -110,7 +110,7 @@ Editor.propTypes = {
110
110
  showNewDate: PropTypes.bool
111
111
  }
112
112
 
113
- Editor.deaultProps = {
113
+ Editor.defaultProps = {
114
114
  onSave: _.noop,
115
115
  showNewDate: false
116
116
  }
@@ -83,7 +83,7 @@ Editor.propTypes = {
83
83
  showNewDate: PropTypes.bool
84
84
  }
85
85
 
86
- Editor.deaultProps = {
86
+ Editor.defaultProps = {
87
87
  onSave: _.noop,
88
88
  showNewDate: false
89
89
  }
@@ -105,7 +105,7 @@ Editor.propTypes = {
105
105
  addFields: PropTypes.object.isRequired
106
106
  }
107
107
 
108
- Editor.deaultProps = {
108
+ Editor.defaultProps = {
109
109
  onSave: _.noop
110
110
  }
111
111
 
@@ -71,7 +71,7 @@ Editor.propTypes = {
71
71
  isPurchase: PropTypes.bool
72
72
  }
73
73
 
74
- Editor.deaultProps = {
74
+ Editor.defaultProps = {
75
75
  onSave: _.noop,
76
76
  isPurchase: false
77
77
  }
@@ -101,7 +101,7 @@ Editor.propTypes = {
101
101
  showNewDate: PropTypes.bool
102
102
  }
103
103
 
104
- Editor.deaultProps = {
104
+ Editor.defaultProps = {
105
105
  onSave: _.noop,
106
106
  showNewDate: false
107
107
  }
@@ -72,7 +72,7 @@ Editor.propTypes = {
72
72
  addFields: PropTypes.object.isRequired
73
73
  }
74
74
 
75
- Editor.deaultProps = {
75
+ Editor.defaultProps = {
76
76
  onSave: _.noop
77
77
  }
78
78
 
@@ -72,7 +72,7 @@ Editor.propTypes = {
72
72
  addFields: PropTypes.object.isRequired
73
73
  }
74
74
 
75
- Editor.deaultProps = {
75
+ Editor.defaultProps = {
76
76
  onSave: _.noop
77
77
  }
78
78
 
@@ -69,7 +69,7 @@ Editor.propTypes = {
69
69
  addFields: PropTypes.object.isRequired
70
70
  }
71
71
 
72
- Editor.deaultProps = {
72
+ Editor.defaultProps = {
73
73
  onSave: _.noop
74
74
  }
75
75
 
@@ -69,7 +69,7 @@ Editor.propTypes = {
69
69
  addFields: PropTypes.object.isRequired
70
70
  }
71
71
 
72
- Editor.deaultProps = {
72
+ Editor.defaultProps = {
73
73
  onSave: _.noop
74
74
  }
75
75