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

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"},{"size":7133,"mtime":1638862566087,"results":"22","hashOfConfig":"23"},{"size":291,"mtime":1638935573926,"results":"24","hashOfConfig":"23"},{"size":523,"mtime":1638935549030,"results":"25","hashOfConfig":"23"},{"size":1093,"mtime":1638861826721,"results":"26","hashOfConfig":"23"},{"size":2315,"mtime":1638930939570,"results":"27","hashOfConfig":"23"},{"size":2314,"mtime":1638930918783,"results":"28","hashOfConfig":"23"},{"size":1100,"mtime":1638930900747,"results":"29","hashOfConfig":"23"},{"size":2062,"mtime":1638930869535,"results":"30","hashOfConfig":"23"},{"size":3013,"mtime":1638930838581,"results":"31","hashOfConfig":"23"},{"size":4379,"mtime":1638935458586,"results":"32","hashOfConfig":"23"},{"size":2543,"mtime":1638935387181,"results":"33","hashOfConfig":"23"},{"size":2965,"mtime":1638935364549,"results":"34","hashOfConfig":"23"},{"size":3519,"mtime":1638930747457,"results":"35","hashOfConfig":"23"},{"size":2833,"mtime":1638861837310,"results":"36","hashOfConfig":"23"},{"size":4212,"mtime":1638935746667,"results":"37","hashOfConfig":"23"},{"size":861,"mtime":1638931446915,"results":"38","hashOfConfig":"23"},{"size":178,"mtime":1638931439249,"results":"39","hashOfConfig":"23"},{"size":3272,"mtime":1638931374761,"results":"40","hashOfConfig":"23"},{"size":22205,"mtime":1638862315362,"results":"41","hashOfConfig":"23"},{"size":4903,"mtime":1638931210449,"results":"42","hashOfConfig":"23"},{"size":13268,"mtime":1638930638946,"results":"43","hashOfConfig":"23"},{"filePath":"44","messages":"45","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"jpc0be",{"filePath":"46","messages":"47","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"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":2,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"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":1,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},"/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",["86","87"],"/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",["88","89","90"],{"ruleId":"91","severity":2,"message":"92","line":10,"column":29,"nodeType":"93","endLine":10,"endColumn":35},{"ruleId":"91","severity":2,"message":"94","line":145,"column":63,"nodeType":"93","endLine":145,"endColumn":71},{"ruleId":"95","severity":1,"message":"96","line":265,"column":13,"nodeType":"97","endLine":265,"endColumn":49},{"ruleId":"95","severity":1,"message":"96","line":283,"column":13,"nodeType":"97","endLine":283,"endColumn":56},{"ruleId":"98","severity":2,"message":"99","line":436,"column":22,"nodeType":"100","messageId":"101","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"},{"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"]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gm-printer",
3
- "version": "10.13.8-alpha.0",
3
+ "version": "10.13.8-alpha.1",
4
4
  "description": "diy printer",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -622,7 +622,7 @@ Radio.propTypes = {
622
622
  id: PropTypes.string,
623
623
  value: PropTypes.string,
624
624
  radioChecked: PropTypes.func,
625
- checked: PropTypes.string
625
+ checked: PropTypes.bool
626
626
  }
627
627
 
628
628
  const RadioGap = ({ width = '100%', height = '15px' }) => (
@@ -115,7 +115,7 @@ class ContextMenu extends React.Component {
115
115
  }
116
116
  }
117
117
  ContextMenu.propTypes = {
118
- editStore: PropTypes.object.isRequired,
119
- mockData: PropTypes.object.isRequired
118
+ editStore: PropTypes.object,
119
+ mockData: PropTypes.object
120
120
  }
121
121
  export default ContextMenu
@@ -101,7 +101,7 @@ class ContextMenu extends React.Component {
101
101
  }
102
102
  }
103
103
  ContextMenu.propTypes = {
104
- editStore: PropTypes.object.isRequired,
105
- mockData: PropTypes.object.isRequired
104
+ editStore: PropTypes.object,
105
+ mockData: PropTypes.object
106
106
  }
107
107
  export default ContextMenu
@@ -86,7 +86,7 @@ class ContextMenu extends React.Component {
86
86
  }
87
87
 
88
88
  ContextMenu.propTypes = {
89
- editStore: PropTypes.object.isRequired,
90
- mockData: PropTypes.object.isRequired
89
+ editStore: PropTypes.object,
90
+ mockData: PropTypes.object
91
91
  }
92
92
  export default ContextMenu
@@ -103,7 +103,7 @@ class ContextMenu extends React.Component {
103
103
  }
104
104
  }
105
105
  ContextMenu.propTypes = {
106
- editStore: PropTypes.object.isRequired,
107
- mockData: PropTypes.object.isRequired
106
+ editStore: PropTypes.object,
107
+ mockData: PropTypes.object
108
108
  }
109
109
  export default ContextMenu
@@ -77,7 +77,7 @@ class ContextMenu extends React.Component {
77
77
  }
78
78
 
79
79
  ContextMenu.propTypes = {
80
- editStore: PropTypes.object.isRequired,
81
- mockData: PropTypes.object.isRequired
80
+ editStore: PropTypes.object,
81
+ mockData: PropTypes.object
82
82
  }
83
83
  export default ContextMenu
@@ -33,7 +33,7 @@ class ContextMenu extends React.Component {
33
33
  }
34
34
  }
35
35
  ContextMenu.propTypes = {
36
- editStore: PropTypes.object.isRequired,
37
- mockData: PropTypes.object.isRequired
36
+ editStore: PropTypes.object,
37
+ mockData: PropTypes.object
38
38
  }
39
39
  export default ContextMenu
@@ -75,7 +75,7 @@ class ContextMenu extends React.Component {
75
75
  }
76
76
  }
77
77
  ContextMenu.propTypes = {
78
- editStore: PropTypes.object.isRequired,
79
- mockData: PropTypes.object.isRequired
78
+ editStore: PropTypes.object,
79
+ mockData: PropTypes.object
80
80
  }
81
81
  export default ContextMenu
@@ -75,7 +75,7 @@ class ContextMenu extends React.Component {
75
75
  }
76
76
  }
77
77
  ContextMenu.propTypes = {
78
- editStore: PropTypes.object.isRequired,
79
- mockData: PropTypes.object.isRequired
78
+ editStore: PropTypes.object,
79
+ mockData: PropTypes.object
80
80
  }
81
81
  export default ContextMenu